ServerPermission.BitwiseOr メソッド
2 つのサーバー権限を、包含的 OR を使用して結合します。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
Public Shared Function BitwiseOr ( _
permissionLeft As ServerPermission, _
permissionRight As ServerPermission _
) As ServerPermissionSet
'使用
Dim permissionLeft As ServerPermission
Dim permissionRight As ServerPermission
Dim returnValue As ServerPermissionSet
returnValue = ServerPermission.BitwiseOr(permissionLeft, _
permissionRight)
public static ServerPermissionSet BitwiseOr(
ServerPermission permissionLeft,
ServerPermission permissionRight
)
public:
static ServerPermissionSet^ BitwiseOr(
ServerPermission^ permissionLeft,
ServerPermission^ permissionRight
)
static member BitwiseOr :
permissionLeft:ServerPermission *
permissionRight:ServerPermission -> ServerPermissionSet
public static function BitwiseOr(
permissionLeft : ServerPermission,
permissionRight : ServerPermission
) : ServerPermissionSet
パラメーター
- permissionLeft
型: Microsoft.SqlServer.Management.Smo.ServerPermission
ServerPermission
- permissionRight
型: Microsoft.SqlServer.Management.Smo.ServerPermission
ServerPermission
戻り値
型: Microsoft.SqlServer.Management.Smo.ServerPermissionSet
両方の権限オブジェクトのすべての権限を含む ServerPermission です。