Method | Description | |
---|---|---|
InitializeDefaultDrives ( ) : Collection |
||
IsValidPath ( string path ) : bool |
Callback used to verify the syntax of a path. This method is usually invoked before the callback method for the cmdlet(ie set-item, clear-item)
|
|
ItemExists ( string path ) : bool |
test-path cmdlet callback
|
|
NewDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo | ||
NewDriveDynamicParameters ( ) : object | ||
RemoveDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo |
The Windows PowerShell engine calls this method when the Remove-PSDrive cmdlet is run and the path to this provider is specified. This method closes the ODBC connection of the drive.
|
|
Start ( System.Management.Automation.ProviderInfo providerInfo ) : System.Management.Automation.ProviderInfo | ||
Stop ( ) : void |
Method | Description | |
---|---|---|
GetTheRestOfPathWihoutDrive ( string path ) : string | ||
GetTheRestOfPathWihoutProvider ( string path ) : string |
protected InitializeDefaultDrives ( ) : Collection |
||
return | Collection |
protected NewDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo | ||
drive | System.Management.Automation.PSDriveInfo | |
return | System.Management.Automation.PSDriveInfo |
protected NewDriveDynamicParameters ( ) : object | ||
return | object |
protected RemoveDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo | ||
drive | System.Management.Automation.PSDriveInfo | The drive to remove. |
return | System.Management.Automation.PSDriveInfo |
protected Start ( System.Management.Automation.ProviderInfo providerInfo ) : System.Management.Automation.ProviderInfo | ||
providerInfo | System.Management.Automation.ProviderInfo | |
return | System.Management.Automation.ProviderInfo |