JobServer.SetMsxAccount Método (String, String)
Sets the name of the credentials used to log in to the master server in multiserver administration.
Espacio de nombres: Microsoft.SqlServer.Management.Smo.Agent
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub SetMsxAccount ( _
account As String, _
password As String _
)
'Uso
Dim instance As JobServer
Dim account As String
Dim password As String
instance.SetMsxAccount(account, password)
public void SetMsxAccount(
string account,
string password
)
public:
void SetMsxAccount(
String^ account,
String^ password
)
member SetMsxAccount :
account:string *
password:string -> unit
public function SetMsxAccount(
account : String,
password : String
)
Parámetros
- account
Tipo: System.String
A String value that specifies the SQL Server Authentication login name.
- password
Tipo: System.String
A String value that specifies the SQL Server Authentication password.
Comentarios
This method is no longer supported.
Ejemplos
Programar tareas administrativas automáticas en el Agente SQL Server
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo.Agent