Поделиться через


Класс 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

В начало

Замечания

Добавления: 17 июля 2006 г.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.

См. также

Справочник