IMetabaseObjectDescriptor.FetchDependencies

Syntax

FetchDependencies(FromSource: Boolean): IMetabaseObjectDescriptors;

Parameters

FromSource. Parameter determining for which object the property will be calculated. This parameter is relevant for shortcuts. If True is passed as a value, the property will return description of objects on which the object depends, to which the shortcut refers. If False is passed as a value, the property will return description of objects on which the shortcut depends.

Description

The FetchDependencies method returns a collection of descriptions of the objects on which the given object depends.

Comments

As opposed to the IMetabaseObjectDescriptor.Dependencies property this method returns a list of description of objects taking into account the objects, for which the attribute of lazy loading of description was set.

The method returns an empty collection, if the object does not depend on any repository object.

See also:

IMetabaseObjectDescriptor