ImpersonationInfo Constructor (ImpersonationMode, String, String)
Applies To: SQL Server (starting with 2016)
Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode, user account, and password.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public ImpersonationInfo(
ImpersonationMode mode,
string account,
string password
)
public:
ImpersonationInfo(
ImpersonationMode mode,
String^ account,
String^ password
)
new :
mode:ImpersonationMode *
account:string *
password:string -> ImpersonationInfo
Public Sub New (
mode As ImpersonationMode,
account As String,
password As String
)
Parameters
mode
Type: Microsoft.AnalysisServices.ImpersonationModeAn ImpersonationMode that contains the mode of impersonating.
account
Type: System.StringA String that contains the user account.
password
Type: System.StringA String that contains the password.
See Also
ImpersonationInfo Overload
ImpersonationInfo Class
Microsoft.AnalysisServices Namespace
Return to top