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

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

Parameters

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

Return Value

Type: List<String>
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