PurgeCompletedOperations Method (DateTime)
Purges all the import, export and rebuild operations completed before specified date.
Namespace: Microsoft.CommerceServer.Catalog
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub PurgeCompletedOperations ( _
completedBefore As DateTime _
)
'Usage
Dim instance As CatalogContext
Dim completedBefore As DateTime
instance.PurgeCompletedOperations(completedBefore)
public void PurgeCompletedOperations(
DateTime completedBefore
)
public:
void PurgeCompletedOperations(
DateTime completedBefore
)
public function PurgeCompletedOperations(
completedBefore : DateTime
)
Parameters
- completedBefore
Type: System..::.DateTime
Date/Time to specify filter to purge completed items. Only items older than this will be purged.
Remarks
All properties associated with the completed operations that were completed before the completedBefore date are deleted from the system. This method is called for maintenance purposes; to remove the records of items that were completed prior to the completedBefore date, to prevent the database from filling indefinitely.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.