ImpersonationInfo 建構函式 (ImpersonationMode, String, String)
Initializes a new instance of ImpersonationInfo for the specified ImpersonationMode, user account, and password.
命名空間: Microsoft.AnalysisServices
組件: Microsoft.AnalysisServices (在 Microsoft.AnalysisServices.dll 中)
語法
'宣告
Public Sub New ( _
mode As ImpersonationMode, _
account As String, _
password As String _
)
'用途
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
)
參數
- mode
型別:Microsoft.AnalysisServices. . :: . .ImpersonationMode
An ImpersonationMode that contains the mode of impersonating.
- account
型別:System. . :: . .String
A String that contains the user account.
- password
型別:System. . :: . .String
A String that contains the password.