DatabasePermission.Addition Operator (DatabasePermission, DatabasePermission)

 

Creates a database permission set by performing an addition operation on two DatabasePermission objects.

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

public static DatabasePermissionSet operator +(
	DatabasePermission permissionLeft,
	DatabasePermission permissionRight
)

Parameters

permissionLeft
Type: Microsoft.SqlServer.Management.Smo.DatabasePermission

A DatabasePermission object that specifies the database permission.

permissionRight
Type: Microsoft.SqlServer.Management.Smo.DatabasePermission

A DatabasePermission object that specifies the database permission.

Return Value

Type: Microsoft.SqlServer.Management.Smo.DatabasePermissionSet

A DatabasePermissionSet object that specifies a set of database permissions.

Return to top
Show: