Share via


SqlCeSyncStoreMetadataUpgrade Constructor (, String)

Initializes a new instance of the SqlCeSyncStoreMetadataUpgrade 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 SqlCeSyncStoreMetadataUpgrade(connection, _
    objectPrefix)
public SqlCeSyncStoreMetadataUpgrade(
    SqlCeConnection connection,
    string objectPrefix
)
public:
SqlCeSyncStoreMetadataUpgrade(
    SqlCeConnection^ connection, 
    String^ objectPrefix
)
new : 
        connection:SqlCeConnection * 
        objectPrefix:string -> SqlCeSyncStoreMetadataUpgrade
public function SqlCeSyncStoreMetadataUpgrade(
    connection : SqlCeConnection, 
    objectPrefix : String
)

Parameters

  • connection
    Type: SqlCeConnection
    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

SqlCeSyncStoreMetadataUpgrade Class

SqlCeSyncStoreMetadataUpgrade Overload

Microsoft.Synchronization.Data.SqlServerCe Namespace