Partager via


Méthode ProxyAccount.EnumMsdbRoles

Enumerates a list of Microsoft SQL Server database roles associated with the referenced proxy account.

Espace de noms :  Microsoft.SqlServer.Management.Smo.Agent
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
Public Function EnumMsdbRoles As DataTable
'Utilisation
Dim instance As ProxyAccount 
Dim returnValue As DataTable 

returnValue = instance.EnumMsdbRoles()
public DataTable EnumMsdbRoles()
public:
DataTable^ EnumMsdbRoles()
member EnumMsdbRoles : unit -> DataTable
public function EnumMsdbRoles() : DataTable

Valeur de retour

Type : System.Data.DataTable
A DataTable object value that contains a table of information about the SQL Server database roles that are associated with the referenced proxy account.

Exemples

Planification des tâches administratives automatiques dans l'Agent SQL Server

Voir aussi

Référence

ProxyAccount Classe

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

Autres ressources

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

sp_help_proxy (Transact-SQL)