Revoke Method

SQLServer.Database.StoredProcedure Object

Description

Removes stored procedure privileges from a list of SQL Server users and groups.

Visual Basic

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

C++

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

Elements

Element Type Description

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

Reference

REVOKE