ChangeApplicationServices.BeginChangeApplication 方法
開始處理一組變更。
命名空間: Microsoft.Synchronization
組件: Microsoft.Synchronization (在 microsoft.synchronization.dll)
語法
'宣告
Public Sub BeginChangeApplication ( _
destinationKnowledge As SyncKnowledge, _
destinationForgottenKnowledge As ForgottenKnowledge, _
filterInfo As FilterInfo, _
syncCallbacks As SyncCallbacks, _
sourceDataRetriever As IChangeDataRetriever, _
destinationDataRetriever As IChangeDataRetriever _
)
'用途
Dim instance As ChangeApplicationServices
Dim destinationKnowledge As SyncKnowledge
Dim destinationForgottenKnowledge As ForgottenKnowledge
Dim filterInfo As FilterInfo
Dim syncCallbacks As SyncCallbacks
Dim sourceDataRetriever As IChangeDataRetriever
Dim destinationDataRetriever As IChangeDataRetriever
instance.BeginChangeApplication(destinationKnowledge, destinationForgottenKnowledge, filterInfo, syncCallbacks, sourceDataRetriever, destinationDataRetriever)
public void BeginChangeApplication (
SyncKnowledge destinationKnowledge,
ForgottenKnowledge destinationForgottenKnowledge,
FilterInfo filterInfo,
SyncCallbacks syncCallbacks,
IChangeDataRetriever sourceDataRetriever,
IChangeDataRetriever destinationDataRetriever
)
public:
void BeginChangeApplication (
SyncKnowledge^ destinationKnowledge,
ForgottenKnowledge^ destinationForgottenKnowledge,
FilterInfo^ filterInfo,
SyncCallbacks^ syncCallbacks,
IChangeDataRetriever^ sourceDataRetriever,
IChangeDataRetriever^ destinationDataRetriever
)
public void BeginChangeApplication (
SyncKnowledge destinationKnowledge,
ForgottenKnowledge destinationForgottenKnowledge,
FilterInfo filterInfo,
SyncCallbacks syncCallbacks,
IChangeDataRetriever sourceDataRetriever,
IChangeDataRetriever destinationDataRetriever
)
public function BeginChangeApplication (
destinationKnowledge : SyncKnowledge,
destinationForgottenKnowledge : ForgottenKnowledge,
filterInfo : FilterInfo,
syncCallbacks : SyncCallbacks,
sourceDataRetriever : IChangeDataRetriever,
destinationDataRetriever : IChangeDataRetriever
)
參數
- destinationKnowledge
目的地複寫的目前知識。
- destinationForgottenKnowledge
目的地複寫目前的被遺忘知識。可為 null 參考 (在 Visual Basic 中為 Nothing)。
- filterInfo
目的地提供者所使用之篩選的相關資訊。可為 null 參考 (在 Visual Basic 中為 Nothing)。
- syncCallbacks
將會接收有關變更套用事件之通知的回呼。可為 null 參考 (在 Visual Basic 中為 Nothing)。
- sourceDataRetriever
可用來從來源複寫中擷取項目資料的物件。
- destinationDataRetriever
可用來從目的地複寫中擷取項目資料的物件。
例外
例外狀況型別 | 條件 |
---|---|
必要的參數為 null 參考 (在 Visual Basic 中為 Nothing)。 |
|
任何指定之知識物件的識別碼格式結構描述與初始化這個物件時所指定的識別碼格式結構描述不符。 |
|
變更套用已啟動,但並未針對另一組變更結束。 |
備註
此方法通常會為目的地提供者之 ProcessChangeBatch 方法所接收的每個變更批次呼叫一次。
在可以設定或計算知識,或者套用或報告變更之前,必須呼叫這個方法。
請參閱
參考
ChangeApplicationServices 類別
ChangeApplicationServices 成員
Microsoft.Synchronization 命名空間