共用方式為


SyncKnowledge.Serialize 方法 (Boolean)

將知識物件資料序列化為位元組陣列。

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

語法

'宣告
Public Function Serialize ( _
    includeReplicaKeyMap As Boolean _
) As Byte()
'用途
Dim instance As SyncKnowledge
Dim includeReplicaKeyMap As Boolean
Dim returnValue As Byte()

returnValue = instance.Serialize(includeReplicaKeyMap)
public byte[] Serialize (
    bool includeReplicaKeyMap
)
public:
array<unsigned char>^ Serialize (
    bool includeReplicaKeyMap
)
public byte[] Serialize (
    boolean includeReplicaKeyMap
)
public function Serialize (
    includeReplicaKeyMap : boolean
) : byte[]

參數

  • includeReplicaKeyMap
    true 表示要將複寫機碼對應包含在序列化的資料中,否則為 false

傳回值

包含序列化之知識物件資料的位元組陣列。

請參閱

參考

SyncKnowledge 類別
SyncKnowledge 成員
Microsoft.Synchronization 命名空間