Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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 (in Microsoft.SqlServer.Smo.dll)
Syntax
'Declaration
Public Function EnumServerRoles As DataTable
'Usage
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
Return Value
Type: 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.
Examples
Scheduling Automatic Administrative Tasks in SQL Server Agent
See Also
Reference
Microsoft.SqlServer.Management.Smo.Agent Namespace