ImpersonationInfo 類別
Defines the type of credentials used to establish a connection to the server.
繼承階層
System. . :: . .Object
Microsoft.AnalysisServices..::..ImpersonationInfo
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Class ImpersonationInfo _
Implements ICloneable
'用途
Dim instance As ImpersonationInfo
public class ImpersonationInfo : ICloneable
public ref class ImpersonationInfo : ICloneable
type ImpersonationInfo =
class
interface ICloneable
end
public class ImpersonationInfo implements ICloneable
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. |
上層
屬性
名稱 | 說明 | |
---|---|---|
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. |
上層
方法
名稱 | 說明 | |
---|---|---|
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() () () ()。) |
上層
備註
新增: 2006 年 7 月 17 日
執行緒安全性
這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。