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 命名空间