Export (0) Print
Expand All

ServerRole.EnumServerRolePermissions Method

Note: This API is now obsolete.

Returns a list of server permissions assigned to the referenced server role.

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

[ObsoleteAttribute]
public DataTable EnumServerRolePermissions()

Return Value

Type: DataTable
An array of DataTable object values that contain information about server permissions assigned to the server role. The table describes the different columns of the returned DataTable.

Column

Data type

Description

ServerRole

String

The fixed server role, for example, sysadmin.

Permission

String

The description of the server role permission.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft