Freigeben über


DatabaseRole.EnumAgentProxyAccounts-Methode

Returns a list of agent proxy accounts that are assigned to the database role.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public Function EnumAgentProxyAccounts As DataTable
'Usage
Dim instance As DatabaseRole 
Dim returnValue As DataTable 

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

Rückgabewert

Typ: System.Data.DataTable
A DataTable system object value that contains information about the agent proxy accounts that are assigned to the database role.

Beispiele

Verwalten von Benutzern, Rollen und Anmeldungen

Siehe auch

Verweis

DatabaseRole Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Rollen auf Datenbankebene