Skip to main content
.NET 6.0+

Session.PurgeDeletedObjects() Method

Deletes the objects marked as deleted from storage.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.1.dll

NuGet Package: DevExpress.Xpo

#Declaration

public PurgeResult PurgeDeletedObjects()

#Returns

Type Description
DevExpress.Xpo.Helpers.PurgeResult

A PurgeResult object containing removal statistics (the number of objects processed, purged, etc.)

#Remarks

This method calls another PurgeDeletedObjects overloaded method, and passes the session’s Session.ObjectLayer property value as the objectLayer parameter.

See Also