EnumServerRolePermissions 方法

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Function EnumServerRolePermissions As DataTable
用法
Dim instance As ServerRole
Dim returnValue As DataTable

returnValue = instance.EnumServerRolePermissions()
public DataTable EnumServerRolePermissions()
public:
DataTable^ EnumServerRolePermissions()
member EnumServerRolePermissions : unit -> DataTable 
public function EnumServerRolePermissions() : DataTable

返回值

类型:System.Data. . :: . .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.