Freigeben über


ProxyAccount.EnumMsdbRoles-Methode

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

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

Syntax

'Declaration
Public Function EnumMsdbRoles As DataTable
'Usage
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

Rückgabewert

Typ: 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.

Beispiele

Planen von automatischen, administrativen Tasks im SQL Server-Agent

Siehe auch

Verweis

ProxyAccount Klasse

Microsoft.SqlServer.Management.Smo.Agent-Namespace

Andere Ressourcen

Automatisierte Administrationstasks (SQL Server-Agent)

sp_help_proxy (Transact-SQL)