Dela via


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
)
member GetSerializedReplicaInfo : 
        filePath:string * 
        replicaId:SyncId byref * 
        syncIdFormats:SyncIdFormatGroup byref -> unit 
public function GetSerializedReplicaInfo(
    filePath : String, 
    replicaId : SyncId, 
    syncIdFormats : SyncIdFormatGroup
)

Parameters

  • filePath
    Type: System.String
    The file that contains the serialized metadata.

Exceptions

Exception Condition
ArgumentNullException

filePath is a null reference (Nothing in Visual Basic).

See Also

Reference

SimpleSyncServices Class

Microsoft.Synchronization.SimpleProviders Namespace