共用方式為


SimpleSyncServices.GetSerializedReplicaInfo 方法

取得序列化中繼資料的相關資訊,例如與它相關聯之複寫的識別碼。

命名空間: Microsoft.Synchronization.SimpleProviders
組件: Microsoft.Synchronization.SimpleProviders (在 microsoft.synchronization.simpleproviders.dll)

語法

'宣告
Public Sub GetSerializedReplicaInfo ( _
    filePath As String, _
    <OutAttribute> ByRef replicaId As SyncId, _
    <OutAttribute> ByRef syncIdFormats As SyncIdFormatGroup _
)
'用途
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.

參數

  • filePath
    包含序列化中繼資料的檔案。
  • replicaId
    與這個中繼資料相關聯之複寫的識別碼。
  • syncIdFormats
    提供者的識別碼格式結構描述。

請參閱

參考

SimpleSyncServices 類別
SimpleSyncServices 成員
Microsoft.Synchronization.SimpleProviders 命名空間