IRepositoryODBC2 Interface

See Also

This interface exposes methods that enables you to set or get options for retrieving object collections asynchronously, plus other methods inherited from the IRepositoryODBC interface.

When to Use

Use the IRepositoryODBC2 interface to obtain or release an ODBC connection handle, or to retrieve the ODBC connection string used by the Microsoft® Repository engine. It is also used to set or get options when loading object collections asynchronously.

To obtain a pointer to this interface, use the IRepository::QueryInterface method.

Methods

IUnknown Method Description
QueryInterface Returns pointers to supported interfaces.
AddRef Increments the reference count.
Release Decrements the reference count.

IDispatch Method Description
GetIDsOfNames Maps a single member and a set of argument names to a corresponding set of dispatch identifiers.
GetTypeInfo Retrieves a type information object, which can be used to get the type information for an interface.
GetTypeInfoCount Retrieves the number of type information interfaces that an object provides (either 0 or 1).
Invoke Provides access to properties and methods exposed by an Automation object.

IRepositoryODBC Method Description
ExecuteQuery Executes the specified SQL query against the Repository database.
FreeConnection Releases an ODBC connection handle.
get_ConnectionString Retrieves the ODBC connection string that the Repository engine uses to obtain an ODBC connection.
GetNewConnection Obtains a new ODBC connection handle using the same connection settings that the Repository engine is using to access the Repository database.
get_ReposConnection Retrieves the ODBC connection handle that the Repository engine is using to access the Repository database.

IRepositoryODBC2 Method Description
GetOption Obtains the value of the load option.
SetOption Sets the option for loading the collection.
(c) 1988-1998 Microsoft Corporation. All Rights Reserved.