RepositoryBulkOperationsDeleteObjects Method |
Deletes all objects of the given type matching the where condition from CI repository.
Namespace: CMS.ContinuousIntegration.InternalAssembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 12.0.0
Syntax public static ICollection<int> DeleteObjects(
ObjectTypeInfo typeInfo,
IWhereCondition where,
bool deleteDependentObjects = true
)
Parameters
- typeInfo
- Type: CMS.DataEngineObjectTypeInfo
Type info of the object type to delete from CI repository - where
- Type: CMS.DataEngineIWhereCondition
Where condition selecting objects to delete - deleteDependentObjects (Optional)
- Type: SystemBoolean
Indicates whether to delete all dependent objects of actually deleted objects
Return Value
Type:
ICollectionInt32IDs collection of deleted objects
Remarks Also processes and deletes all objects that depend on objects specified by passed where condition.
See Also