Skip to main content
.NET Framework 4.6.2+

Session.PurgeDeletedObjects() Method

Deletes the objects marked as deleted from storage.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v24.2.dll

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