Export (0) Print
Expand All

SqlSyncProvider Constructor (String, SqlConnection, String, String)

Initializes a new instance of the SqlSyncProvider class for the specified scope name, connection, synchronization object prefix, and object schema.

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

public SqlSyncProvider(
	string scopeName,
	SqlConnection connection,
	string objectPrefix,
	string objectSchema
)

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.
objectPrefix
Type: System.String
The prefix that is optionally specified for the ObjectPrefix property, to identify objects that Sync Framework creates.
objectSchema
Type: System.String
The database schema in which Sync Framework creates objects.

Scopes are defined during provisioning by using the DbSyncScopeDescription object.

Show:
© 2014 Microsoft