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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。