|
DBPROPFLAGS CODataSource::GetDBPropFlags(const GUID& guidPropertySet, DBPROPID nPropertyID, VARTYPE *pnVarType=0); Return Value Returns one or more DBPROPFLAGS values. Parameters [in] guidPropertySet: A GUID that idenifies a group of properties. [in] nPropertyID: A property ID which belongs to the property set identified by guidPropertySet. [in] pnVarType: A pointer to VARTYPE data which will receive the type indicator value of the property. If pnVarType is NULL, it is ignored. Remarks This function is typically used to retrieve DBPROPFLAGS values such as whether the property is available, readable, writable, and so on. For details about DBPROPFLAGS, see the sub-section of DBPROPFLAGS Enumerated Type inside MSDN\Platform SDK\Data Services\Microsoft Data Access Components (MDAC) SDK\Microsoft OLEDB\. For how to use the function, see the example OleRead. |