Click or drag to resize
RepositoryBulkOperationsDeleteObjects Method
Deletes all objects of the given type matching the where condition from CI repository.

Namespace: CMS.ContinuousIntegration.Internal
Assembly: CMS.ContinuousIntegration (in CMS.ContinuousIntegration.dll) Version: 13.0.131
Syntax
C#
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: ICollectionInt32
IDs collection of deleted objects
Remarks
Also processes and deletes all objects that depend on objects specified by passed where condition.
See Also