SyncMetadataStoreSerializer.GetSerializedReplicaId Method
When overridden in a derived class, returns the replica ID for the replica whose metadata was serialized to the specified destination file.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)
Syntax
'Declaration
Public MustOverride Sub GetSerializedReplicaId ( _
serializedFilePath As String, _
<OutAttribute> ByRef replicaId As SyncId, _
<OutAttribute> ByRef idFormats As SyncIdFormatGroup _
)
'Usage
Dim instance As SyncMetadataStoreSerializer
Dim serializedFilePath As String
Dim replicaId As SyncId
Dim idFormats As SyncIdFormatGroup
instance.GetSerializedReplicaId(serializedFilePath, replicaId, idFormats)
public abstract void GetSerializedReplicaId (
string serializedFilePath,
out SyncId replicaId,
out SyncIdFormatGroup idFormats
)
public:
virtual void GetSerializedReplicaId (
String^ serializedFilePath,
[OutAttribute] SyncId^% replicaId,
[OutAttribute] SyncIdFormatGroup^% idFormats
) abstract
public abstract void GetSerializedReplicaId (
String serializedFilePath,
/** @attribute OutAttribute() */ /** @ref */ SyncId replicaId,
/** @attribute OutAttribute() */ /** @ref */ SyncIdFormatGroup idFormats
)
JScript does not support passing value-type arguments by reference.
Parameters
- serializedFilePath
The file that contains the serialized metadata for a particular replica.
- replicaId
The ID of the replica that is associated with this metadata.
- idFormats
The ID format schema of the provider.
See Also
Reference
SyncMetadataStoreSerializer Class
SyncMetadataStoreSerializer Members
Microsoft.Synchronization.MetadataStorage Namespace