Méthode JobServer.SetMsxAccount (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 ( _
    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

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

JobServer Classe

Surcharge SetMsxAccount

Espace de noms Microsoft.SqlServer.Management.Smo.Agent

Autres ressources

Tâches d'administration automatisée (Agent SQL Server)

sp_msx_set_account (Transact-SQL)