Click or drag to resize
BaseInfoGeneralizedInfoWrapperGetDependenciesNames Method
Returns a list of object names which depend on this object. First tries to execute checkdependencies query, if not found, an automatic process is executed.

Namespace: CMS.DataEngine
Assembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 11.0.0
Syntax
C#
public List<string> GetDependenciesNames(
	bool reportAll = false,
	int topN = 10
)

Parameters

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

Return Value

Type: ListString
Remarks
Automated process 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