Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the SqlCeSyncStoreMetadataCleanup class with the specified connection, object prefix, and metadata retention period.
Namespace: Microsoft.Synchronization.Data.SqlServerCe
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in microsoft.synchronization.data.sqlserverce.dll)
Syntax
'Declaration
Public Sub New ( _
connection As SqlCeConnection, _
objectPrefix As String, _
retentionInDays As Integer _
)
'Usage
Dim connection As SqlCeConnection
Dim objectPrefix As String
Dim retentionInDays As Integer
Dim instance As New SqlCeSyncStoreMetadataCleanup(connection, objectPrefix, retentionInDays)
public SqlCeSyncStoreMetadataCleanup (
SqlCeConnection connection,
string objectPrefix,
int retentionInDays
)
public:
SqlCeSyncStoreMetadataCleanup (
SqlCeConnection^ connection,
String^ objectPrefix,
int retentionInDays
)
public SqlCeSyncStoreMetadataCleanup (
SqlCeConnection connection,
String objectPrefix,
int retentionInDays
)
public function SqlCeSyncStoreMetadataCleanup (
connection : SqlCeConnection,
objectPrefix : String,
retentionInDays : int
)
Parameters
- connection
A SqlCeConnection object that contains a connection to the database.
- objectPrefix
The prefix that is optionally specified for the ObjectPrefix property, to identify objects that Sync Framework creates.
- retentionInDays
How old change-tracking metadata must be, in days, for that metadata to be deleted when PerformCleanup is called.
See Also
Reference
SqlCeSyncStoreMetadataCleanup Class
SqlCeSyncStoreMetadataCleanup Members
Microsoft.Synchronization.Data.SqlServerCe Namespace