Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the SqlSyncProvider class for the specified scope name and connection.
This constructor is not CLS-compliant.
Namespace: Microsoft.Synchronization.Data.SqlServer
Assembly: Microsoft.Synchronization.Data.SqlServer (in microsoft.synchronization.data.sqlserver.dll)
Syntax
'Declaration
Public Sub New ( _
scopeName As String, _
connection As SqlConnection _
)
'Usage
Dim scopeName As String
Dim connection As SqlConnection
Dim instance As New SqlSyncProvider(scopeName, connection)
public SqlSyncProvider (
string scopeName,
SqlConnection connection
)
public:
SqlSyncProvider (
String^ scopeName,
SqlConnection^ connection
)
public SqlSyncProvider (
String scopeName,
SqlConnection connection
)
public function SqlSyncProvider (
scopeName : String,
connection : SqlConnection
)
Parameters
- scopeName
The name of the scope, which defines the set of tables (with optional filters) to synchronize.
- connection
A SqlConnection object that contains a connection to the database.
Remarks
Scopes are defined during provisioning by using the DbSyncScopeDescription object.
See Also
Reference
SqlSyncProvider Class
SqlSyncProvider Members
Microsoft.Synchronization.Data.SqlServer Namespace