SimpleSyncServices Constructor
Initializes a new instance of the SimpleSyncServices class that contains ID formats, a metadata store with a culture setting, a replica ID, and a provider version.
Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in microsoft.synchronization.simpleproviders.dll)
Syntax
'Declaration
Public Sub New ( _
idFormats As SyncIdFormatGroup, _
metadataStore As MetadataStore, _
replicaId As SyncId, _
culture As CultureInfo, _
providerVersion As Short _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim metadataStore As MetadataStore
Dim replicaId As SyncId
Dim culture As CultureInfo
Dim providerVersion As Short
Dim instance As New SimpleSyncServices(idFormats, metadataStore, replicaId, culture, providerVersion)
public SimpleSyncServices (
SyncIdFormatGroup idFormats,
MetadataStore metadataStore,
SyncId replicaId,
CultureInfo culture,
short providerVersion
)
public:
SimpleSyncServices (
SyncIdFormatGroup^ idFormats,
MetadataStore^ metadataStore,
SyncId^ replicaId,
CultureInfo^ culture,
short providerVersion
)
public SimpleSyncServices (
SyncIdFormatGroup idFormats,
MetadataStore metadataStore,
SyncId replicaId,
CultureInfo culture,
short providerVersion
)
public function SimpleSyncServices (
idFormats : SyncIdFormatGroup,
metadataStore : MetadataStore,
replicaId : SyncId,
culture : CultureInfo,
providerVersion : short
)
Parameters
- idFormats
A SyncIdFormatGroup object that is used to define the format of replica and item IDs.
- metadataStore
A MetadataStore object that represents the store in which the replica keeps metadata.
- replicaId
A SyncId object that contains the ID of the replica.
- culture
A CultureInfo object that represents the culture that is used for string comparisons. This should match the culture of the metadata store.
- providerVersion
The version number for the simple provider.
See Also
Reference
SimpleSyncServices Class
SimpleSyncServices Members
Microsoft.Synchronization.SimpleProviders Namespace