Partilhar via


DatabaseRole.EnumObjectPermissions Method

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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Overload List

Name Description
DatabaseRole.EnumObjectPermissions ()
Returns a list of object permissions assigned to the referenced database role.
DatabaseRole.EnumObjectPermissions (ObjectPermissionSet)
Returns a list of object permissions assigned to the referenced database role for the specified set of object permissions.
DatabaseRole.EnumObjectPermissions (String)
Returns a list of object permissions assigned to the referenced database role for the specified member of the role.
DatabaseRole.EnumObjectPermissions (String, ObjectPermissionSet)
Returns a list of object permissions assigned to the referenced database role for the specified member of the role and for the specified set of permissions.

See Also

Reference

DatabaseRole Class
DatabaseRole Members
Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Managing Users, Roles, and Logins
Database Roles
sys.database_permissions (Transact-SQL)