ServerRole.EnumServerRolePermissions 메서드
참고: 이 API는 더 이상 사용되지 않습니다.
Returns a list of server permissions assigned to the referenced server role.
네임스페이스: Microsoft.SqlServer.Management.Smo
어셈블리: Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)
구문
‘선언
<ObsoleteAttribute> _
Public Function EnumServerRolePermissions As DataTable
‘사용 방법
Dim instance As ServerRole
Dim returnValue As DataTable
returnValue = instance.EnumServerRolePermissions()
[ObsoleteAttribute]
public DataTable EnumServerRolePermissions()
[ObsoleteAttribute]
public:
DataTable^ EnumServerRolePermissions()
[<ObsoleteAttribute>]
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 |
The fixed server role, for example, sysadmin. |
|
Permission |
The description of the server role permission. |
예
참고 항목
참조
Microsoft.SqlServer.Management.Smo 네임스페이스