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

  • account
    Type: System.String

    A String that contains the user account.

  • password
    Type: System.String

    A String that contains the password.

See Also

ImpersonationInfo Overload
ImpersonationInfo Class
Microsoft.AnalysisServices Namespace

Return to top