Share via


SqlSyncStoreRestore Constructor (SqlConnection, String)

Initializes a new instance of the SqlSyncStoreRestore class with the specified connection and object prefix.

Namespace: Microsoft.Synchronization.Data.SqlServer
Assembly: Microsoft.Synchronization.Data.SqlServer (in microsoft.synchronization.data.sqlserver.dll)

Syntax

'Declaration
Public Sub New ( _
    connection As SqlConnection, _
    objectPrefix As String _
)
'Usage
Dim connection As SqlConnection
Dim objectPrefix As String

Dim instance As New SqlSyncStoreRestore(connection, objectPrefix)
public SqlSyncStoreRestore (
    SqlConnection connection,
    string objectPrefix
)
public:
SqlSyncStoreRestore (
    SqlConnection^ connection, 
    String^ objectPrefix
)
public SqlSyncStoreRestore (
    SqlConnection connection, 
    String objectPrefix
)
public function SqlSyncStoreRestore (
    connection : SqlConnection, 
    objectPrefix : String
)

Parameters

  • connection
    A SqlConnection object that contains a connection to the database.
  • objectPrefix
    The prefix that is optionally specified for the ObjectPrefix property, to identify objects that Sync Framework creates.

See Also

Reference

SqlSyncStoreRestore Class
SqlSyncStoreRestore Members
Microsoft.Synchronization.Data.SqlServer Namespace