DirectoryConnection.Credential 属性
定义
Credential 属性指定用于连接对象的备用凭据。The Credential property specifies 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
属性值
用于连接对象的备用凭据。Alternate credentials for the connection object.
注解
如果未指定,默认值为 null。If not specified, the default value is null.