Sdílet prostřednictvím


SimpleSyncServices.GetSerializedReplicaInfo Method

Gets information about serialized metadata, such as the ID of the replica with which it is associated.

Namespace: Microsoft.Synchronization.SimpleProviders
Assembly: Microsoft.Synchronization.SimpleProviders (in microsoft.synchronization.simpleproviders.dll)

Syntax

'Declaration
Public Sub GetSerializedReplicaInfo ( _
    filePath As String, _
    <OutAttribute> ByRef replicaId As SyncId, _
    <OutAttribute> ByRef syncIdFormats As SyncIdFormatGroup _
)
'Usage
Dim instance As SimpleSyncServices
Dim filePath As String
Dim replicaId As SyncId
Dim syncIdFormats As SyncIdFormatGroup

instance.GetSerializedReplicaInfo(filePath, replicaId, syncIdFormats)
public void GetSerializedReplicaInfo (
    string filePath,
    out SyncId replicaId,
    out SyncIdFormatGroup syncIdFormats
)
public:
void GetSerializedReplicaInfo (
    String^ filePath, 
    [OutAttribute] SyncId^% replicaId, 
    [OutAttribute] SyncIdFormatGroup^% syncIdFormats
)
public void GetSerializedReplicaInfo (
    String filePath, 
    /** @attribute OutAttribute() */ /** @ref */ SyncId replicaId, 
    /** @attribute OutAttribute() */ /** @ref */ SyncIdFormatGroup syncIdFormats
)
JScript does not support passing value-type arguments by reference.

Parameters

  • filePath
    The file that contains the serialized metadata.
  • replicaId
    The ID of the replica that is associated with this metadata.
  • syncIdFormats
    The ID format schema of the provider.

See Also

Reference

SimpleSyncServices Class
SimpleSyncServices Members
Microsoft.Synchronization.SimpleProviders Namespace