SqlCeSyncProvider Constructor (String, )

Initializes a new instance of the SqlCeSyncProvider class for the specified scope name and connection.

Namespace:  Microsoft.Synchronization.Data.SqlServerCe
Assembly:  Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)

public:
SqlCeSyncProvider(
	String^ scopeName, 
	SqlCeConnection^ connection
)

Parameters

scopeName
Type: System::String
The name of the scope, which defines the set of tables (with optional filters) to synchronize.
connection
Type: SqlCeConnection
A SqlCeConnection object that contains a connection to the database.

Scopes are defined during provisioning by using the DbSyncScopeDescription object.

Show: