C# Class UIAutomation.UiaProvider

Inheritance: System.Management.Automation.Provider.DriveCmdletProvider
显示文件 Open project: apetrovskiy/STUPS

Protected Methods

Method Description
InitializeDefaultDrives ( ) : Collection
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 Details

InitializeDefaultDrives() protected method

protected InitializeDefaultDrives ( ) : Collection
return Collection

NewDriveDynamicParameters() protected method

protected NewDriveDynamicParameters ( ) : object
return object

RemoveDrive() protected method

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.
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

Start() protected method

protected Start ( System.Management.Automation.ProviderInfo providerInfo ) : System.Management.Automation.ProviderInfo
providerInfo System.Management.Automation.ProviderInfo
return System.Management.Automation.ProviderInfo

Stop() protected method

protected Stop ( ) : void
return void