Revoke Method

SQLServer.Database.View Object

Description

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

Visual Basic

View.Revoke (
[Privileges :=] tPrivileges,
[RevokeeNames :=] midUserGroupList,
[[ColumnNames :=] midColumnList] )

C++

HRESULT pView->Revoke (
SQLOLE_PRIVILEGE_TYPE
tPrivileges,
SQLOLE_LPCSTR
midUserGroupList,
SQLOLE_LPCSTR
midColumnList = NULL );

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
midColumnList MultiIdentifier Delimited list of one or more columns

Reference

REVOKE