JobServer.SetMsxAccount 方法 (String, String)
Sets the name of the credentials used to log in to the master server in multiserver administration.
命名空間: Microsoft.SqlServer.Management.Smo.Agent
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub SetMsxAccount ( _
account As String, _
password As String _
)
'用途
Dim instance As JobServer
Dim account As String
Dim password As String
instance.SetMsxAccount(account, password)
public void SetMsxAccount(
string account,
string password
)
public:
void SetMsxAccount(
String^ account,
String^ password
)
member SetMsxAccount :
account:string *
password:string -> unit
public function SetMsxAccount(
account : String,
password : String
)
參數
- account
型別:System.String
A String value that specifies the SQL Server Authentication login name.
- password
型別:System.String
A String value that specifies the SQL Server Authentication password.
備註
This method is no longer supported.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo.Agent 命名空間