ImpersonationInfo Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
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. |
ImpersonationInfo()
Initializes a new instance of ImpersonationInfo using default values.
public ImpersonationInfo ();
Public Sub New ()
Applies to
ImpersonationInfo(ImpersonationMode)
Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode.
public ImpersonationInfo (Microsoft.AnalysisServices.ImpersonationMode mode);
new Microsoft.AnalysisServices.ImpersonationInfo : Microsoft.AnalysisServices.ImpersonationMode -> Microsoft.AnalysisServices.ImpersonationInfo
Public Sub New (mode As ImpersonationMode)
Parameters
- mode
- ImpersonationMode
An ImpersonationMode that contains the mode of impersonating.
Applies to
ImpersonationInfo(String, String)
Initializes a new instance of ImpersonationInfo for the specified user account and password.
public ImpersonationInfo (string account, string password);
new Microsoft.AnalysisServices.ImpersonationInfo : string * string -> Microsoft.AnalysisServices.ImpersonationInfo
Public Sub New (account As String, password As String)
Parameters
- account
- String
A String that contains the user account.
- password
- String
A String that contains the password.
Remarks
The inpersonation-mode of the ImpersonationInfo is set to ImpersonationMode.ImpersonateAccount.
Applies to
ImpersonationInfo(ImpersonationMode, String, String)
Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode, user account, and password.
public ImpersonationInfo (Microsoft.AnalysisServices.ImpersonationMode mode, string account, string password);
new Microsoft.AnalysisServices.ImpersonationInfo : Microsoft.AnalysisServices.ImpersonationMode * string * string -> Microsoft.AnalysisServices.ImpersonationInfo
Public Sub New (mode As ImpersonationMode, account As String, password As String)
Parameters
- mode
- ImpersonationMode
An ImpersonationMode that contains the mode of impersonating.
- account
- String
A String that contains the user account.
- password
- String
A String that contains the password.