Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

DatabaseRole.EnumObjectPermissions Method

Returns a list of object permissions assigned to the referenced database role.

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

public ObjectPermissionInfo[] EnumObjectPermissions()

Return Value

Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionInfo[]
An array of ObjectPermissionInfo object values that contain information about object permissions assigned to the database role.

Implements

IObjectPermission.EnumObjectPermissions()

Community Additions

Show:
© 2015 Microsoft