IAdoMdCatalog.Open

Syntax

Open: IAdoMdCatalogInstance;

Description

The Open method opens the ADOMD catalog.

Example

Executing the example requires that the repository contains an ADOMD catalog with the ADOMDTest identifier.

Sub UserProc;
Var
    MB: IMetabase;
    Catalog: IAdoMdCatalog;
    CatalogInst: IAdoMdCatalogInstance;
Begin
    MB := MetabaseClass.Active;
    Catalog := MB.ItemById("ADOMDTest").Bind As IAdoMdCatalog;
    CatalogInst := Catalog.Open;
End Sub UserProc;

The open instance of the ADOMD catalog is obtained when executing this example.

See also:

IAdoMdCatalog