編輯

共用方式為


DirectoryConnection.Credential Property

Definition

Sets the alternate credentials for the connection object.

public:
 virtual property System::Net::NetworkCredential ^ Credential {  void set(System::Net::NetworkCredential ^ value); };
public virtual System.Net.NetworkCredential Credential { set; }
member this.Credential : System.Net.NetworkCredential
Public Overridable Property Credential As NetworkCredential

Property Value

The alternate credentials for the connection object.

Remarks

If not specified, the default value is null.

Applies to