Partager via


GetCredentialCommand.Credential Property

Definition

Gets or sets the underlying PSCredential of the instance.

public:
 property System::Management::Automation::PSCredential ^ Credential { System::Management::Automation::PSCredential ^ get(); void set(System::Management::Automation::PSCredential ^ value); };
public System.Management.Automation.PSCredential Credential { get; set; }
[System.Management.Automation.Credential]
[System.Management.Automation.Parameter(ParameterSetName="CredentialSet", Position=0)]
[System.Management.Automation.ValidateNotNull]
public System.Management.Automation.PSCredential Credential { get; set; }
member this.Credential : System.Management.Automation.PSCredential with get, set
[<System.Management.Automation.Credential>]
[<System.Management.Automation.Parameter(ParameterSetName="CredentialSet", Position=0)>]
[<System.Management.Automation.ValidateNotNull>]
member this.Credential : System.Management.Automation.PSCredential with get, set
Public Property Credential As PSCredential

Property Value

Attributes

Applies to