Método ProxyAccount.EnumServerRoles
Enumerates a list of Microsoft SQL Server server roles associated with the referenced proxy account.
Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Public Function EnumServerRoles As DataTable
'Uso
Dim instance As ProxyAccount
Dim returnValue As DataTable
returnValue = instance.EnumServerRoles()
public DataTable EnumServerRoles()
public:
DataTable^ EnumServerRoles()
member EnumServerRoles : unit -> DataTable
public function EnumServerRoles() : DataTable
Valor de retorno
Tipo: System.Data.DataTable
A DataTable object value that contains a table of information about the SQL Server server roles that are associated with the referenced proxy account.
Exemplos
Agendando tarefas administrativas automáticas no SQL Server Agent
Consulte também
Referência
Namespace Microsoft.SqlServer.Management.Smo.Agent