Share via


SqlSyncStoreMetadataCleanup Constructor (SqlConnection, String)

Initializes a new instance of the SqlSyncStoreMetadataCleanup 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 SqlSyncStoreMetadataCleanup(connection, _
    objectPrefix)
public SqlSyncStoreMetadataCleanup(
    SqlConnection connection,
    string objectPrefix
)
public:
SqlSyncStoreMetadataCleanup(
    SqlConnection^ connection, 
    String^ objectPrefix
)
new : 
        connection:SqlConnection * 
        objectPrefix:string -> SqlSyncStoreMetadataCleanup
public function SqlSyncStoreMetadataCleanup(
    connection : SqlConnection, 
    objectPrefix : String
)

Parameters

  • objectPrefix
    Type: System.String
    The prefix that is optionally specified for the ObjectPrefix property, to identify objects that Sync Framework creates.

See Also

Reference

SqlSyncStoreMetadataCleanup Class

SqlSyncStoreMetadataCleanup Overload

Microsoft.Synchronization.Data.SqlServer Namespace