DatabasePermission.BitwiseOr(DatabasePermission, DatabasePermission) DatabasePermission.BitwiseOr(DatabasePermission, DatabasePermission) DatabasePermission.BitwiseOr(DatabasePermission, DatabasePermission) Method

Definition

Creates a database permission set by performing a bitwise OR operation on two DatabasePermission objects.

public:
 static Microsoft::SqlServer::Management::Smo::DatabasePermissionSet ^ BitwiseOr(Microsoft::SqlServer::Management::Smo::DatabasePermission ^ permissionLeft, Microsoft::SqlServer::Management::Smo::DatabasePermission ^ permissionRight);
public static Microsoft.SqlServer.Management.Smo.DatabasePermissionSet BitwiseOr (Microsoft.SqlServer.Management.Smo.DatabasePermission permissionLeft, Microsoft.SqlServer.Management.Smo.DatabasePermission permissionRight);
Public Shared Function BitwiseOr (permissionLeft As DatabasePermission, permissionRight As DatabasePermission) As DatabasePermissionSet
Parameters
Returns

A DatabasePermission object that specifies a set of database permissions.

Applies to