Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ImpersonationInfo Class

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


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

[XmlRootAttribute(Namespace = "http://schemas.microsoft.com/analysisservices/2003/engine")]
public class ImpersonationInfo : ICloneable

The ImpersonationInfo type exposes the following members.

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

Public propertyAccountGets or sets the user account.
Public propertyImpersonationInfoSecurityGets or sets the password availability from data source.
Public propertyImpersonationModeGets or sets the access mode the service uses to connect to the data source.
Public propertyPasswordGets or sets the password.

Public methodCloneReturns a full copy of current ImpersonationInfo object.
Public methodCopyToReturns a full copy of current ImpersonationInfo into specified object.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToStringReturns a System.String representation of current object. (Overrides Object.ToString.)

Explicit interface implemetationPrivate methodICloneable.CloneCreates and returns a new object that is a copy of the current instance of this ImpersonationInfo object.

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

Community Additions

© 2015 Microsoft