共用方式為


ObjectPermissionSet.Subtract(ObjectPermissionSet, ObjectPermission) Method

Definition

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

Parameters

permissionLeft
ObjectPermissionSet
permissionRight
ObjectPermission

Returns

Applies to