ImpersonationInfo Class


Applies To: SQL Server (starting with 2016)

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

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

Inheritance Hierarchy



public class ImpersonationInfo : ICloneable
public ref class ImpersonationInfo : ICloneable
type ImpersonationInfo = 
        interface ICloneable
Public Class ImpersonationInfo
    Implements ICloneable


Name Description
System_CAPS_pubmethod ImpersonationInfo()

Initializes a new instance of ImpersonationInfo using default values.

System_CAPS_pubmethod ImpersonationInfo(ImpersonationMode)

Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode.

System_CAPS_pubmethod ImpersonationInfo(ImpersonationMode, String, String)

Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode, user account, and password.

System_CAPS_pubmethod ImpersonationInfo(String, String)

Initializes a new instance of ImpersonationInfo for the specified user account and password.


Name Description
System_CAPS_pubproperty Account

Gets or sets the user account.

System_CAPS_pubproperty ImpersonationInfoSecurity

Gets or sets the password availability from data source.

System_CAPS_pubproperty ImpersonationMode

Gets or sets the access mode the service uses to connect to the data source.

System_CAPS_pubproperty Password

Gets or sets the password.


Name Description
System_CAPS_pubmethod Clone()

Returns a full copy of current ImpersonationInfo object.

System_CAPS_pubmethod CopyTo(ImpersonationInfo)

Returns a full copy of current ImpersonationInfo into specified object.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Returns a System.String representation of current object.(Overrides Object.ToString().)

Explicit Interface Implementations

Name Description
System_CAPS_pubinterfaceSystem_CAPS_privmethod ICloneable.Clone()

Creates and returns a new object that is a copy of the current instance of this ImpersonationInfo object.

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.

See Also

Microsoft.AnalysisServices Namespace

Return to top