ImpersonationInfo 成員
Defines the type of credentials used to establish a connection to the server.
ImpersonationInfo 型別公開下列成員。
建構函式
名稱 | 描述 | |
---|---|---|
ImpersonationInfo() () () () | Initializes a new instance of ImpersonationInfo using default values. | |
ImpersonationInfo(ImpersonationMode) | Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode. | |
ImpersonationInfo(String, String) | Initializes a new instance of ImpersonationInfo for the specified user account and password. | |
ImpersonationInfo(ImpersonationMode, String, String) | Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode, user account, and password. |
頂端
方法
名稱 | 描述 | |
---|---|---|
Clone | Returns a full copy of current ImpersonationInfo object. | |
CopyTo | Returns a full copy of current ImpersonationInfo into specified object. | |
Equals | (繼承自 Object。) | |
Finalize | (繼承自 Object。) | |
GetHashCode | (繼承自 Object。) | |
GetType | (繼承自 Object。) | |
MemberwiseClone | (繼承自 Object。) | |
ToString | Returns a System.String representation of current object. (覆寫 Object. . :: . .ToString() () () ()。) |
頂端
屬性
名稱 | 描述 | |
---|---|---|
Account | Gets or sets the user account. | |
ImpersonationInfoSecurity | Gets or sets the password availability from data source. | |
ImpersonationMode | Gets or sets the access mode the service uses to connect to the data source. | |
Password | Gets or sets the password. |
頂端