SqlCeSyncStoreSnapshotInitialization Constructor (SyncIdFormatGroup, String)
Initializes a new instance of the SqlCeSyncStoreSnapshotInitialization class for the specified ID format and object prefix.
This API is not CLS-compliant.
Namespace: Microsoft.Synchronization.Data.SqlServerCe
Assembly: Microsoft.Synchronization.Data.SqlServerCe (in Microsoft.Synchronization.Data.SqlServerCe.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Sub New ( _
idFormats As SyncIdFormatGroup, _
objectPrefix As String _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim objectPrefix As String
Dim instance As New SqlCeSyncStoreSnapshotInitialization(idFormats, _
objectPrefix)
[CLSCompliantAttribute(false)]
public SqlCeSyncStoreSnapshotInitialization(
SyncIdFormatGroup idFormats,
string objectPrefix
)
[CLSCompliantAttribute(false)]
public:
SqlCeSyncStoreSnapshotInitialization(
SyncIdFormatGroup^ idFormats,
String^ objectPrefix
)
[<CLSCompliantAttribute(false)>]
new :
idFormats:SyncIdFormatGroup *
objectPrefix:string -> SqlCeSyncStoreSnapshotInitialization
public function SqlCeSyncStoreSnapshotInitialization(
idFormats : SyncIdFormatGroup,
objectPrefix : String
)
Parameters
- idFormats
Type: Microsoft.Synchronization.SyncIdFormatGroup
A SyncIdFormatGroup object that represents the format schema for the group of IDs that identify entities in a synchronization session.
- objectPrefix
Type: System.String
The prefix that is optionally specified for the ObjectPrefix property, to identify objects that Sync Framework creates.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | idFormats is a null reference (Nothing in Visual Basic). |
See Also
Reference
SqlCeSyncStoreSnapshotInitialization Class