Share via


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() () () ()。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 ICloneable. . :: . .Clone

页首

注释

新增日期: 2006 年 7 月 17 日

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。