Share via


SqlSyncStoreRestore Constructor (SqlConnection, String, String)

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

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, _
    objectSchema As String _
)
'Usage
Dim connection As SqlConnection
Dim objectPrefix As String
Dim objectSchema As String

Dim instance As New SqlSyncStoreRestore(connection, _
    objectPrefix, objectSchema)
public SqlSyncStoreRestore(
    SqlConnection connection,
    string objectPrefix,
    string objectSchema
)
public:
SqlSyncStoreRestore(
    SqlConnection^ connection, 
    String^ objectPrefix, 
    String^ objectSchema
)
new : 
        connection:SqlConnection * 
        objectPrefix:string * 
        objectSchema:string -> SqlSyncStoreRestore
public function SqlSyncStoreRestore(
    connection : SqlConnection, 
    objectPrefix : String, 
    objectSchema : String
)

Parameters

  • 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.

See Also

Reference

SqlSyncStoreRestore Class

SqlSyncStoreRestore Overload

Microsoft.Synchronization.Data.SqlServer Namespace