Метод | Описание | |
---|---|---|
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 |
Метод | Описание | |
---|---|---|
GetTheRestOfPathWihoutDrive ( string path ) : string | ||
GetTheRestOfPathWihoutProvider ( string path ) : string |
protected InitializeDefaultDrives ( ) : Collection |
||
Результат | Collection |
protected IsValidPath ( string path ) : bool | ||
path | string | |
Результат | bool |
protected ItemExists ( string path ) : bool | ||
path | string | |
Результат | bool |
protected NewDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo | ||
drive | System.Management.Automation.PSDriveInfo | |
Результат | System.Management.Automation.PSDriveInfo |
protected NewDriveDynamicParameters ( ) : object | ||
Результат | object |
protected RemoveDrive ( System.Management.Automation.PSDriveInfo drive ) : System.Management.Automation.PSDriveInfo | ||
drive | System.Management.Automation.PSDriveInfo | The drive to remove. |
Результат | System.Management.Automation.PSDriveInfo |
protected Start ( System.Management.Automation.ProviderInfo providerInfo ) : System.Management.Automation.ProviderInfo | ||
providerInfo | System.Management.Automation.ProviderInfo | |
Результат | System.Management.Automation.ProviderInfo |