共用方式為


PSCredential.Empty Property

Definition

Gets an empty PSCredential. This is an PSCredential with both UserName and Password initialized to null.

public:
 static property System::Management::Automation::PSCredential ^ Empty { System::Management::Automation::PSCredential ^ get(); };
public static System.Management.Automation.PSCredential Empty { get; }
static member Empty : System.Management.Automation.PSCredential
Public Shared ReadOnly Property Empty As PSCredential

Property Value

Applies to