Share via


DatabasePermissionSet.Subtract Method

Definition

public static Microsoft.SqlServer.Management.Smo.DatabasePermissionSet Subtract (Microsoft.SqlServer.Management.Smo.DatabasePermissionSet permissionLeft, Microsoft.SqlServer.Management.Smo.DatabasePermission permissionRight);
static member Subtract : Microsoft.SqlServer.Management.Smo.DatabasePermissionSet * Microsoft.SqlServer.Management.Smo.DatabasePermission -> Microsoft.SqlServer.Management.Smo.DatabasePermissionSet
Public Shared Function Subtract (permissionLeft As DatabasePermissionSet, permissionRight As DatabasePermission) As DatabasePermissionSet

Parameters

permissionLeft
DatabasePermissionSet
permissionRight
DatabasePermission

Returns

Applies to