TechNet
Export (0) Print
Expand All

ObjectPermission.Add Method (ObjectPermission, ObjectPermission)

 

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.

Return to top
Show:
© 2016 Microsoft