共用方式為


DirectoryConnection.Credential 屬性

定義

設定連接物件的替代認證。

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

屬性值

連接物件的替代認證。

備註

若未指定,則預設值為 null

適用於