Поделиться через


Метод Server.Revoke

Показывать защищенные элементы
Показывать наследуемые элементы

Revokes a previously granted set of permissions from a grantee or grantees on the instance of SQL Server.

Этот элемент перегружен. Чтобы получить полные сведения об этом элементе (синтаксисе, использовании и примерах использования), щелкните его имя в списке перегрузок.

Список перегрузок

  Имя Описание
Открытый метод Revoke(ServerPermissionSet, String) Revokes a previously granted set of permissions from a list of grantees on the instance of SQL Server.
Открытый метод Revoke(ServerPermissionSet, array<String[]) Revokes a previously granted set of permissions from a list of grantees on the instance of SQL Server.
Открытый метод Revoke(ServerPermissionSet, String, Boolean, Boolean) Revokes previously granted permissions from a grantee on the instance of SQL Server and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role.
Открытый метод Revoke(ServerPermissionSet, array<String[], Boolean, Boolean) Revokes previously granted permissions from grantees on the instance of SQL Server and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role.
Открытый метод Revoke(ServerPermissionSet, String, Boolean, Boolean, String) Revokes previously granted permissions from a grantee on the instance of SQL Server and any other users to whom the grantee has granted the specified set of permissions. The grantee is also given the ability to revoke the specified set of permissions from other users under an assumed role.
Открытый метод Revoke(ServerPermissionSet, array<String[], Boolean, Boolean, String) Revokes previously granted permissions from grantees on the instance of SQL Server and any other users to whom the grantees have granted the specified set of permissions. The grantees are also given the ability to revoke the specified set of permissions from other users under an assumed role.

В начало

Замечания

The Revoke method has several overloads that give you a choice of whether to revoke one or more permissions from a single grantee or from several grantees. It lets you specify whether the grantee has permission to revoke the permissions from others, and what role the grantee assumes when taking this action. This method also lets you revoke any permissions that the grantee might have granted to other users.

См. также

Справочник

Server Класс

Пространство имен Microsoft.SqlServer.Management.Smo