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
System.Object
Microsoft.AnalysisServices.ImpersonationInfo
Syntax
public class ImpersonationInfo : ICloneable
public ref class ImpersonationInfo : ICloneable
type ImpersonationInfo =
class
interface ICloneable
end
Public Class ImpersonationInfo
Implements ICloneable
Constructors
Name | Description | |
---|---|---|
ImpersonationInfo() | Initializes a new instance of ImpersonationInfo using default values. |
|
ImpersonationInfo(ImpersonationMode) | Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode. |
|
ImpersonationInfo(ImpersonationMode, String, String) | Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode, user account, and password. |
|
ImpersonationInfo(String, String) | Initializes a new instance of ImpersonationInfo for the specified user account and password. |
Properties
Name | Description | |
---|---|---|
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. |
Methods
Name | Description | |
---|---|---|
Clone() | Returns a full copy of current ImpersonationInfo object. |
|
CopyTo(ImpersonationInfo) | Returns a full copy of current ImpersonationInfo into specified object. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | Returns a System.String representation of current object.(Overrides Object.ToString().) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
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