Método JobServer.SetMsxAccount (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 (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Sub SetMsxAccount ( _
credentialName As String _
)
'Uso
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
)
Parâmetros
- credentialName
Tipo: System.String
A String value that specifies the login name.
Comentários
Esse método foi introduzido no SQL Server 2005.
Exemplos
Agendando tarefas administrativas automáticas no SQL Server Agent
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Agent