Méthode ServerRole.EnumAgentProxyAccounts

Enumerates a list of the SQL Server Agent proxy account to which the server role belongs.

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

Syntaxe

'Déclaration
Public Function EnumAgentProxyAccounts As DataTable
'Utilisation
Dim instance As ServerRole 
Dim returnValue As DataTable 

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

Valeur de retour

Type : System.Data.DataTable
A DataTable system object value that contains an enumerated list of information about SQL Server Agent proxy accounts to which the referenced server role belongs.

Exemples

Gestion des utilisateurs, rôles et connexions

Voir aussi

Référence

ServerRole Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

Autorisations des rôles serveur fixes (moteur de base de données)

sp_addsrvrolemember (Transact-SQL)