Schema.Revoke Method

Revokes a previously granted set of permissions from a grantee or grantees on the schema.

备注

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。

重载列表

名称 Description
Schema.Revoke (ObjectPermissionSet, String)
Revokes a previously granted set of permissions from a grantee on the schema.
Schema.Revoke (ObjectPermissionSet, String[])
Revokes a previously granted set of permissions from a list of grantees on the schema.
Schema.Revoke (ObjectPermissionSet, String, Boolean, Boolean)
Revokes previously granted permissions from a grantee on the schema 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.
Schema.Revoke (ObjectPermissionSet, String[], Boolean, Boolean)
Revokes previously granted permissions from grantees on the schema 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.
Schema.Revoke (ObjectPermissionSet, String, Boolean, Boolean, String)
Revokes previously granted permissions from a grantee on the schema and any other users to whom the grantee has granted access. The grantee is also given the ability to revoke other users' access under an assumed role.
Schema.Revoke (ObjectPermissionSet, String[], Boolean, Boolean, String)
Revokes previously granted permissions from grantees on the schema 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.

请参阅

参考

Schema Class
Schema Members
Microsoft.SqlServer.Management.Smo Namespace

其他资源

Granting, Revoking, and Denying Permissions
了解数据库架构
CREATE SCHEMA (Transact-SQL)