共用方式為


ImpersonationInfo 建構函式 (String, String)

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

命名空間:  Microsoft.AnalysisServices
組件:  Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)

語法

'宣告
Public Sub New ( _
    account As String, _
    password As String _
)
'用途
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
)

參數

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

請參閱

參考

ImpersonationInfo 類別

ImpersonationInfo 多載

Microsoft.AnalysisServices 命名空間