Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
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 ( _
credentialName As String _
)
'Utilisation
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
)
Paramètres
- credentialName
Type : System.String
A String value that specifies the login name.
Notes
Cette méthode a été introduite dans SQL Server 2005.
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