Condividi tramite


StartJobCommand.Credential Property

Definition

Credential to use for this job.

public:
 virtual property System::Management::Automation::PSCredential ^ Credential { System::Management::Automation::PSCredential ^ get(); void set(System::Management::Automation::PSCredential ^ value); };
public override System.Management.Automation.PSCredential Credential { get; set; }
[System.Management.Automation.Credential]
[System.Management.Automation.Parameter(ParameterSetName="ComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")]
[System.Management.Automation.Parameter(ParameterSetName="LiteralFilePathComputerName")]
public override 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="ComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="FilePathComputerName")>]
[<System.Management.Automation.Parameter(ParameterSetName="LiteralFilePathComputerName")>]
member this.Credential : System.Management.Automation.PSCredential with get, set
Public Overrides Property Credential As PSCredential

Property Value

Attributes

Applies to