Condividi tramite


Metodo ServerRole.EnumAgentProxyAccounts

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Function EnumAgentProxyAccounts As DataTable
'Utilizzo
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

Valore restituito

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

Esempi

Gestione di utenti, ruoli e account di accesso

Vedere anche

Riferimento

ServerRole Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Autorizzazioni dei ruoli predefiniti del server (Motore di database)

sp_addsrvrolemember (Transact-SQL)