Delen via


IDBSchemaRowsetImpl::GetSchemas

Returns a list of schema rowsets accessible by IDBSchemaRowsetImpl::GetRowset.

STDMETHOD ( GetSchema s )( 
   ULONG * pcSchemas, 
   GUID ** prgSchemas, 
   ULONG** prgRest 
);

Parameters

  • pcSchemas
    [out] A pointer to a ULONG that is filled with the number of schemas.

  • prgSchemas
    [out] A pointer to an array of GUIDs that is filled with a pointer to an array of schema rowset GUIDs.

  • prgRest
    [out] A pointer to an array of ULONGs that is to be filled with the restriction array.

Remarks

This method returns an array of all schema rowsets supported by the provider. See IDBSchemaRowset::GetSchemas in the Windows SDK.

The implementation of this function requires the user to have a schema map in the session class. Using the schema map information, it then responds with the array of GUIDs for the schemas in the map. This represents the schemas supported by the provider.

Requirements

Header: atldb.h

See Also

Reference

IDBSchemaRowsetImpl Class

IDBSchemaRowsetImpl::GetRowset

IDBSchemaRowset::GetRowset

Schema Rowset Classes and Typedef Classes

Other Resources

IDBSchemaRowsetImpl Class Members