SqlSyncProvider Constructor (String, SqlConnection)

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

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

public:
SqlSyncProvider(
	String^ scopeName, 
	SqlConnection^ connection
)

Parameters

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

Scopes are defined during provisioning by using the DbSyncScopeDescription object.

Show: