Click or drag to resize
BaseInfoGetDependenciesNamesAuto Method
Returns a list of object names which depend on this object.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
protected virtual List<string> GetDependenciesNamesAuto(
	bool reportAll,
	int topN
)

Parameters

reportAll
Type: SystemBoolean
If false, only required dependency constraints (without default value) are returned, otherwise checks all dependency relations.
topN
Type: SystemInt32
Number of dependent objects to return, 0 means no limitation.

Return Value

Type: ListString
Remarks
List of objects is based on DependsOn property. Child, site and group objects are not included. Objects whose ObjectPathColumn value contains a prefix matching the current object's path value are also not included.
See Also