IDBSchemaRowsetImpl::GetSchemas

 

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 IDBSchemaRowsetImpl::GetSchemas.

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

Syntax

  
      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

IDBSchemaRowsetImpl Class
IDBSchemaRowsetImpl Class Members
IDBSchemaRowsetImpl::GetRowset
IDBSchemaRowset::GetRowset
Schema Rowset Classes and Typedef Classes