Freigeben über


ImpersonationInfo-Konstruktor (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
)

Parameter

  • account
    Typ: System.String
    A String that contains the user account.
  • password
    Typ: System.String
    A String that contains the password.

Siehe auch

Verweis

ImpersonationInfo Klasse

ImpersonationInfo-Überladung

Microsoft.AnalysisServices-Namespace