Share via


ImpersonationInfo Class

Defines the type of credentials used to establish a connection to the server.

Inheritance Hierarchy

System.Object
  Microsoft.AnalysisServices.ImpersonationInfo

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Class ImpersonationInfo _
    Implements ICloneable
'Usage
Dim instance As ImpersonationInfo
public class ImpersonationInfo : ICloneable
public ref class ImpersonationInfo : ICloneable
type ImpersonationInfo =  
    class
        interface ICloneable
    end
public class ImpersonationInfo implements ICloneable

The ImpersonationInfo type exposes the following members.

Constructors

  Name Description
Public method ImpersonationInfo() Initializes a new instance of ImpersonationInfo using default values.
Public method ImpersonationInfo(ImpersonationMode) Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode.
Public method ImpersonationInfo(String, String) Initializes a new instance of ImpersonationInfo for the specified user account and password.
Public method ImpersonationInfo(ImpersonationMode, String, String) Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode, user account, and password.

Top

Properties

  Name Description
Public property Account Gets or sets the user account.
Public property ImpersonationInfoSecurity Gets or sets the password availability from data source.
Public property ImpersonationMode Gets or sets the access mode the service uses to connect to the data source.
Public property Password Gets or sets the password.

Top

Methods

  Name Description
Public method Clone Returns a full copy of current ImpersonationInfo object.
Public method CopyTo Returns a full copy of current ImpersonationInfo into specified object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString Returns a System.String representation of current object. (Overrides Object.ToString().)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method ICloneable.Clone

Top

Remarks

New: 17 July 2006

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.