Compartilhar via


ImpersonationInfo Constructor (ImpersonationMode, String, String)

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

Namespace: Microsoft.AnalysisServices
Assembly: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)

Syntax

'Declaration
Public Sub New ( _
    mode As ImpersonationMode, _
    account As String, _
    password As String _
)
public ImpersonationInfo (
    ImpersonationMode mode,
    string account,
    string password
)
public:
ImpersonationInfo (
    ImpersonationMode mode, 
    String^ account, 
    String^ password
)
public ImpersonationInfo (
    ImpersonationMode mode, 
    String account, 
    String password
)
public function ImpersonationInfo (
    mode : ImpersonationMode, 
    account : String, 
    password : String
)

Parameters

  • mode
    An ImpersonationMode that contains the mode of impersonating.
  • account
    A String that contains the user account.
  • password
    A String that contains the password.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ImpersonationInfo Class
ImpersonationInfo Members
Microsoft.AnalysisServices Namespace