ImpersonationInfo Constructor (String, String)
Initializes a new instance of ImpersonationInfo for the specified user account and password.
Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)
Syntax
'Declaration
Public Sub New ( _
account As String, _
password As String _
)
'Usage
Dim account As String
Dim password As String
Dim instance As New ImpersonationInfo(account, _
password)
public ImpersonationInfo(
string account,
string password
)
public:
ImpersonationInfo(
String^ account,
String^ password
)
new :
account:string *
password:string -> ImpersonationInfo
public function ImpersonationInfo(
account : String,
password : String
)
Parameters
- account
Type: System.String
A String that contains the user account.
- password
Type: System.String
A String that contains the password.