共用方式為


DscResourceAttribute.RunAsCredential Property

Definition

To specify RunAs Behavior for the resource.

public:
 property System::Management::Automation::DSCResourceRunAsCredential RunAsCredential { System::Management::Automation::DSCResourceRunAsCredential get(); void set(System::Management::Automation::DSCResourceRunAsCredential value); };
public System.Management.Automation.DSCResourceRunAsCredential RunAsCredential { get; set; }
member this.RunAsCredential : System.Management.Automation.DSCResourceRunAsCredential with get, set
Public Property RunAsCredential As DSCResourceRunAsCredential

Property Value

Applies to