ObjectPermission.ToObjectPermissionSet Method (ObjectPermission)

 

Converts an object permission into an object permission set.

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

public static ObjectPermissionSet ToObjectPermissionSet(
	ObjectPermission permission
)

Parameters

permission
Type: Microsoft.SqlServer.Management.Smo.ObjectPermission

An ObjectPermission object that specifies the object permission.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet

An ObjectPermissionSet object that specifies a set of object permissions.

Return to top
Show: