Not
Åtkomst till denna sida kräver auktorisation. Du kan prova att logga in eller byta katalog.
Åtkomst till denna sida kräver auktorisation. Du kan prova att byta katalog.
Initializes a new instance of the SqlSyncStoreMetadataUpgrade 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 SqlSyncStoreMetadataUpgrade(connection, _
objectPrefix)
public SqlSyncStoreMetadataUpgrade(
SqlConnection connection,
string objectPrefix
)
public:
SqlSyncStoreMetadataUpgrade(
SqlConnection^ connection,
String^ objectPrefix
)
new :
connection:SqlConnection *
objectPrefix:string -> SqlSyncStoreMetadataUpgrade
public function SqlSyncStoreMetadataUpgrade(
connection : SqlConnection,
objectPrefix : String
)
Parameters
- connection
Type: System.Data.SqlClient.SqlConnection
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. This prefix must match the prefix that was used to provision the database or the upgrade will fail.
See Also
Reference
SqlSyncStoreMetadataUpgrade Class