SqlCeSyncStoreMetadataCleanup Constructor (, String)

Initializes a new instance of the SqlCeSyncStoreMetadataCleanup class with the specified connection and object prefix.

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 _
)
'Usage
Dim connection As SqlCeConnection
Dim objectPrefix As String

Dim instance As New SqlCeSyncStoreMetadataCleanup(connection, _
    objectPrefix)
public SqlCeSyncStoreMetadataCleanup(
    SqlCeConnection connection,
    string objectPrefix
)
public:
SqlCeSyncStoreMetadataCleanup(
    SqlCeConnection^ connection, 
    String^ objectPrefix
)
new : 
        connection:SqlCeConnection * 
        objectPrefix:string -> SqlCeSyncStoreMetadataCleanup
public function SqlCeSyncStoreMetadataCleanup(
    connection : SqlCeConnection, 
    objectPrefix : String
)

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.

See Also

Reference

SqlCeSyncStoreMetadataCleanup Class

SqlCeSyncStoreMetadataCleanup Overload

Microsoft.Synchronization.Data.SqlServerCe Namespace