TechNet
Export (0) Print
Expand All

DatabasePermission.BitwiseOr Operator (DatabasePermission, DatabasePermission)

 

Creates a database permission set by performing a bitwise OR 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:
© 2016 Microsoft