Condividi tramite


Costruttore ImpersonationInfo (ImpersonationMode, String, String)

Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode, user account, and password.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    mode As ImpersonationMode, _
    account As String, _
    password As String _
)
'Utilizzo
Dim mode As ImpersonationMode 
Dim account As String 
Dim password As String 

Dim instance As New ImpersonationInfo(mode, account, _
    password)
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 function ImpersonationInfo(
    mode : ImpersonationMode, 
    account : String, 
    password : String
)

Parametri

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

Vedere anche

Riferimento

ImpersonationInfo Classe

Overload ImpersonationInfo

Spazio dei nomi Microsoft.AnalysisServices