Méthode JobServer.SetMsxAccount (String, String)
Sets the name of the credentials used to log in to the master server in multiserver administration.
Espace de noms : Microsoft.SqlServer.Management.Smo.Agent
Assembly : Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Syntaxe
'Déclaration
Public Sub SetMsxAccount ( _
account As String, _
password As String _
)
'Utilisation
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
)
Paramètres
- account
Type : System.String
A String value that specifies the SQL Server Authentication login name.
- password
Type : System.String
A String value that specifies the SQL Server Authentication password.
Notes
This method is no longer supported.
Exemples
Planification des tâches administratives automatiques dans l'Agent SQL Server
Voir aussi
Référence
Espace de noms Microsoft.SqlServer.Management.Smo.Agent