SetMsxAccount 方法 (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 ( _
    credentialName As String _
)
用法
Dim instance As JobServer
Dim credentialName As String

instance.SetMsxAccount(credentialName)
public void SetMsxAccount(
    string credentialName
)
public:
void SetMsxAccount(
    String^ credentialName
)
member SetMsxAccount : 
        credentialName:string -> unit 
public function SetMsxAccount(
    credentialName : String
)

参数

注释

SQL Server 2005 中引入了此方法。