JobServer.SetMsxAccount Method (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
)
Parameters
- credentialName
Type: System.String
A String value that specifies the login name.
Remarks
This method was introduced in SQL Server 2005.