.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

Session.PurgeDeletedObjects() Method

Deletes the objects marked as deleted from storage.

Namespace: DevExpress.Xpo

Assembly: DevExpress.Xpo.v20.2.dll

Declaration

public PurgeResult PurgeDeletedObjects()
Public Function PurgeDeletedObjects As PurgeResult

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