Click or drag to resize
BaseInfoGeneralizedInfoWrapperGetDependenciesNames Method
Checks the object dependencies. 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: 8.2.23
Syntax
C#
public List<string> GetDependenciesNames(
	bool reportAll = false,
	int topN = 10
)

Parameters

reportAll (Optional)
Type: SystemBoolean
If false, only required dependencies (without default value) are returned, if true required ObjectDependency constraint is ignored
topN (Optional)
Type: SystemInt32
Number of dependencies to return, 0 means no limitation

Return Value

Type: ListString
See Also