IMetabaseCache.GetInstanceById

Syntax

GetInstanceById(Id: String; ParamValues: IMetabaseObjectParamValues): IMetabaseObjectInstance;

Parameters

Id - identifier of an object.

ParamValues - parameters values that were used to open an object.

Description

The GetInstanceById method returns an object instance from repository cache by identifier and specified parameters set.

Comments

An object is put in repository cache while the first opening. If an object is opened with different parameters caching is performed for each parameters set.

If the cache does not contain a specified object or an object instance for specified parameters values, the method returns Null.

See also:

IMetabaseCache