BaseInfoGetDependenciesNames 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.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 10.0.0
Syntax protected virtual List<string> GetDependenciesNames(
bool reportAll = true,
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:
ListStringRemarks
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