SqlCeSyncStoreMetadataCleanup Constructor (, String, Int32)
Initializes a new instance of the SqlCeSyncStoreMetadataCleanup class with the specified connection, object prefix, and metadata retention period.
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)
public: SqlCeSyncStoreMetadataCleanup( SqlCeConnection^ connection, String^ objectPrefix, int retentionInDays )
Parameters
- connection
- Type: SqlCeConnection
A SqlCeConnection object that contains a connection to the database.
- objectPrefix
- Type: System::String
The prefix that is optionally specified for the ObjectPrefix property, to identify objects that Sync Framework creates.
- retentionInDays
- Type: System::Int32
How old change-tracking metadata must be, in days, for that metadata to be deleted when PerformCleanup is called.
Show: