Freigeben über


SetMsxAccount-Methode (String)

Sets the name of the credentials used to log in to the master server in multiserver administration.

Namespace:  Microsoft.SqlServer.Management.Smo.Agent
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Sub SetMsxAccount ( _
    credentialName As String _
)
'Usage
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
)

Parameter