다음을 통해 공유


CTablePrivileges, CTablePrivilegeInfo

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CTablePrivileges, CTablePrivilegeInfo.

Call the typedef class CTablePrivileges to implement its parameter class CTablePrivilegeInfo.

Remarks

See Schema Rowset Classes and Typedef Classes for more information on using typedef classes.

This class identifies the tables defined in the catalog that are accessible to a given user.

The following table lists the class data members and their corresponding OLE DB Columns. See TABLE_PRIVILEGES Rowset in the OLE DB Programmer's Reference for more information about the schema and columns.

Data members OLE DB columns
m_szGrantor GRANTOR
m_szGrantee GRANTEE
m_szCatalog TABLE_CATALOG
m_szSchema TABLE_SCHEMA
m_szName TABLE_NAME
m_szType PRIVILEGE_TYPE
m_bIsGrantable IS_GRANTABLE

Requirements

Header: atldbsch.h

See Also

CRestrictions Class