SimpleSyncServices.GetSerializedReplicaInfo 方法
获取有关序列化的元数据的信息,如与该元数据相关联的副本的 ID。
命名空间: 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
与此元数据相关联的副本的 ID。
- syncIdFormats
提供程序的 ID 格式架构。
请参阅
参考
SimpleSyncServices 类
SimpleSyncServices 成员
Microsoft.Synchronization.SimpleProviders 命名空间