Revoke Method

SQLServer.Database Object

Description

Removes statement permissions from a list of SQL Server users and groups.

Visual Basic

Database.Revoke (
[Privileges :=] tPrivileges,
[RevokeeNames :=] midUserGroupList )

C++

HRESULT pDatabase->Revoke (
SQLOLE_PRIVILEGE_TYPE
tPrivileges,
SQLOLE_LPCSTR
midUserGroupList );

Elements

Element Type Description

tPrivileges SQLOLE_PRIVILEGE_TYPE Types of statement privileges to revoke
midUserGroupList MultiIdentifier Delimited list of one or more users and groups

Reference

REVOKE