共用方式為


ServerRole.EnumServerRolePermissions Method

Definition

Caution

This API is now deprecated.

This method will be removed in a future version of SMO. This method works correctly for only Fixed Server Roles, not for Flexible Server Roles. This method returns a DataTable object that enumerates the statement execution permissions of this role.

[System.Obsolete]
public System.Data.DataTable EnumServerRolePermissions ();
[<System.Obsolete>]
member this.EnumServerRolePermissions : unit -> System.Data.DataTable
Public Function EnumServerRolePermissions () As DataTable

Returns

Attributes

Applies to