Partilhar via


SessionStateProxy.Drive Property

Definition

Get the APIs to access drives out of session state.

public:
 virtual property System::Management::Automation::DriveManagementIntrinsics ^ Drive { System::Management::Automation::DriveManagementIntrinsics ^ get(); };
public virtual System.Management.Automation.DriveManagementIntrinsics Drive { get; }
member this.Drive : System.Management.Automation.DriveManagementIntrinsics
Public Overridable ReadOnly Property Drive As DriveManagementIntrinsics

Property Value

Exceptions

Runspace is not open.

Another SessionStateProxy call or another pipeline is in progress.

Applies to