Export (0) Print
Expand All

ObjectPermission.Add Method

Returns a set of object permissions after adding two object permissions.

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

public static ObjectPermissionSet Add(
	ObjectPermission permissionLeft,
	ObjectPermission permissionRight
)

Parameters

permissionLeft
Type: Microsoft.SqlServer.Management.Smo.ObjectPermission
An ObjectPermission object that specifies an object permission.
permissionRight
Type: Microsoft.SqlServer.Management.Smo.ObjectPermission
An ObjectPermission object that specifies another object permission.

Return Value

Type: Microsoft.SqlServer.Management.Smo.ObjectPermissionSet
An ObjectPermissionSet object that specifies a set of object permissions created.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft