Share via


ReplicaMetadata Constructor

Initializes a new instance of the ReplicaMetadata class that contains the specified ID format schema and replica ID.

Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)

Syntax

'Declaration
Protected Sub New ( _
    idFormats As SyncIdFormatGroup, _
    replicaId As SyncId _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim replicaId As SyncId

Dim instance As New ReplicaMetadata(idFormats, replicaId)
protected ReplicaMetadata (
    SyncIdFormatGroup idFormats,
    SyncId replicaId
)
protected:
ReplicaMetadata (
    SyncIdFormatGroup^ idFormats, 
    SyncId^ replicaId
)
protected ReplicaMetadata (
    SyncIdFormatGroup idFormats, 
    SyncId replicaId
)
protected function ReplicaMetadata (
    idFormats : SyncIdFormatGroup, 
    replicaId : SyncId
)

Parameters

  • idFormats
    The ID format schema for the provider.
  • replicaId
    The ID of the replica that is associated with this metadata.

Remarks

Instances of this object can be obtained by using InitializeReplicaMetadata or GetReplicaMetadata.

See Also

Reference

ReplicaMetadata Class
ReplicaMetadata Members
Microsoft.Synchronization.MetadataStorage Namespace