Partilhar via


Server.EnumObjectPermissions Method

Enumerates a list of permissions for objects on the instance of Microsoft SQL Server.

Remarks

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

Overload List

Name Description
Server.EnumObjectPermissions ()
Enumerates a list of object permissions for the instance of Microsoft SQL Server.
Server.EnumObjectPermissions (ObjectPermissionSet)
Enumerates a list of object permissions for a specified permission on the instance of Microsoft SQL Server.
Server.EnumObjectPermissions (String)
Enumerates a list of object permissions for a specified grantee on the application instance of Microsoft SQL Server.
Server.EnumObjectPermissions (String, ObjectPermissionSet)
Enumerates a list of object permissions for a specified grantee and a specified permission on the instance of Microsoft SQL Server.

See Also

Reference

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

Other Resources

How to: Use an SMO Method with a Parameter in Visual Basic .NET
Calling Methods
Managing Servers

Change History

Release

History

New content:
  • Added code sample to the Example section.

  • Added to the description in the Remarks section.