ServerPermissionSet.Subtraction(ServerPermissionSet, ServerPermission) ServerPermissionSet.Subtraction(ServerPermissionSet, ServerPermission) ServerPermissionSet.Subtraction(ServerPermissionSet, ServerPermission) Operator

정의

서버 사용 권한 집합에 대해 빼기 연산을 수행 하 여 만듭니다는 ServerPermission 개체 및 ServerPermissionSet 개체입니다. Creates a server permission set by performing a subtraction operation on a ServerPermission object and a ServerPermissionSet object.

public:
 static Microsoft::SqlServer::Management::Smo::ServerPermissionSet ^ operator -(Microsoft::SqlServer::Management::Smo::ServerPermissionSet ^ permissionLeft, Microsoft::SqlServer::Management::Smo::ServerPermission ^ permissionRight);
public static Microsoft.SqlServer.Management.Smo.ServerPermissionSet operator - (Microsoft.SqlServer.Management.Smo.ServerPermissionSet permissionLeft, Microsoft.SqlServer.Management.Smo.ServerPermission permissionRight);
Public Shared Operator - (permissionLeft As ServerPermissionSet, permissionRight As ServerPermission) As ServerPermissionSet
매개 변수
permissionLeft
ServerPermissionSet ServerPermissionSet ServerPermissionSet

A ServerPermissionSet 서버 사용 권한 집합을 지정 하는 개체입니다. A ServerPermissionSet object that specifies the server permission set.

permissionRight
ServerPermission ServerPermission ServerPermission

A ServerPermission 서버 사용 권한을 지정 하는 개체입니다. A ServerPermission object that specifies the server permissions.

반환

A ServerPermissionSet 개체 서버 사용 권한 집합을 지정 하는 값입니다. A ServerPermissionSet object value that specifies a set of server permissions.

예제

권한 부여, 취소 및 거부Granting, Revoking, and Denying Permissions

적용 대상