|
virtual bool COSchema<T>::Open(IOpenRowset *pIOpenRowset, REFGUID guidSchema, ULONG nRestrictions, const VARIANT pvtRestrictions[], DBPROPSET *pPropSet=NULL); Return Value true if successful; otherwise false; Parameters [in] pIOpenRowset: A pointer to an interface IOpenRowset. [in] guidSchema: A schema GUID indicating a metadata rowset like DBSCHEMA_PRIMARY_KEYS, DBSCHEMA_FOREIGN_KEYS, and so on. [in] nRestrictions: The count of restriction values. [in] pvtRestrictions: An array of restriction values. [in/out] pPropSet: A set of rowset properties. Remark Returns a schema rowset. For how to use this function, see example Schema. |