共用方式為


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
)

參數