Udostępnij za pośrednictwem


RestartComputer.PSCredential Property

Definition

Defines the credential to use in the remote connection.

public:
 property System::Activities::InArgument<System::Management::Automation::PSCredential ^> ^ PSCredential { System::Activities::InArgument<System::Management::Automation::PSCredential ^> ^ get(); void set(System::Activities::InArgument<System::Management::Automation::PSCredential ^> ^ value); };
[System.ComponentModel.DefaultValue(null)]
public System.Activities.InArgument<System.Management.Automation.PSCredential> PSCredential { get; set; }
[<System.ComponentModel.DefaultValue(null)>]
member this.PSCredential : System.Activities.InArgument<System.Management.Automation.PSCredential> with get, set
Public Property PSCredential As InArgument(Of PSCredential)

Property Value

Attributes

Applies to