ObjectPermissionSet Constructor (ObjectPermissionSet)


Initializes a new instance of the ObjectPermissionSet class based on the specified set of object permissions.

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

public ObjectPermissionSet(
	ObjectPermissionSet oObjectPermissionSet


Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet

An ObjectPermissionSet object that specifies a set of permissions.

The ObjectPermissionSet object is used to grant, deny, revoke, and enumerate database permissions (also known as statement permissions).

Return to top