Share via


DataBackingStore.Flush Method

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Flushes all CacheItems from database. If an exception is thrown during the flush, the database is left unchanged.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Caching.Database
Assembly:  Microsoft.Practices.EnterpriseLibrary.Caching.Database (in Microsoft.Practices.EnterpriseLibrary.Caching.Database.dll)

Syntax

'Declaration
PublicOverridesSubFlush
publicoverridevoidFlush()
public:
virtualvoidFlush() override
publicoverridefunctionFlush()

Implements

IBackingStore.Flush()

Remarks

Exceptions thrown depend on the implementation of the underlying database.

See Also

DataBackingStore Class

Microsoft.Practices.EnterpriseLibrary.Caching.Database Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.