BusinessLogicModule.UpdateDeleteConflictHandler メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
UPDATE文がPublisherおよびSubscriberでDELETE文と競合した際に呼び出すカスタムビジネスロジックを実装するオプションメソッドです。
public:
virtual Microsoft::SqlServer::Replication::BusinessLogicSupport::ActionOnUpdateDeleteConflict UpdateDeleteConflictHandler(Microsoft::SqlServer::Replication::BusinessLogicSupport::SourceIdentifier updateSource, System::Data::DataSet ^ sourceDataSet, System::Data::DataSet ^ % customDataSet, Microsoft::SqlServer::Replication::BusinessLogicSupport::ConflictLogType % conflictLogType, System::String ^ % customConflictMessage, int % historyLogLevel, System::String ^ % historyLogMessage);
public virtual Microsoft.SqlServer.Replication.BusinessLogicSupport.ActionOnUpdateDeleteConflict UpdateDeleteConflictHandler(Microsoft.SqlServer.Replication.BusinessLogicSupport.SourceIdentifier updateSource, System.Data.DataSet sourceDataSet, ref System.Data.DataSet customDataSet, ref Microsoft.SqlServer.Replication.BusinessLogicSupport.ConflictLogType conflictLogType, ref string customConflictMessage, ref int historyLogLevel, ref string historyLogMessage);
abstract member UpdateDeleteConflictHandler : Microsoft.SqlServer.Replication.BusinessLogicSupport.SourceIdentifier * System.Data.DataSet * DataSet * ConflictLogType * string * int * string -> Microsoft.SqlServer.Replication.BusinessLogicSupport.ActionOnUpdateDeleteConflict
override this.UpdateDeleteConflictHandler : Microsoft.SqlServer.Replication.BusinessLogicSupport.SourceIdentifier * System.Data.DataSet * DataSet * ConflictLogType * string * int * string -> Microsoft.SqlServer.Replication.BusinessLogicSupport.ActionOnUpdateDeleteConflict
Public Overridable Function UpdateDeleteConflictHandler (updateSource As SourceIdentifier, sourceDataSet As DataSet, ByRef customDataSet As DataSet, ByRef conflictLogType As ConflictLogType, ByRef customConflictMessage As String, ByRef historyLogLevel As Integer, ByRef historyLogMessage As String) As ActionOnUpdateDeleteConflict
パラメーター
- updateSource
- SourceIdentifier
更新のソースがPublisherかサブスクライバーかを示すSourceIdentifierです。
- sourceDataSet
- DataSet
競合中の行を表すGUIDを含むデータセット。
- customDataSet
- DataSet
カスタムビジネスロジックで実装されたデータセット。
- conflictLogType
- ConflictLogType
ConflictLogType カスタムビジネスロジックハンドラーによってリクエストされました。
- customConflictMessage
- String
カスタムビジネスロジックハンドラによって返されるコンフリクトメッセージ。
- historyLogLevel
- Int32
カスタムビジネスロジックハンドラによって返されるカスタムメッセージのログレベル。
- historyLogMessage
- String
カスタムビジネスロジックハンドラによるログメッセージ。 ログメッセージは配布データベースに書き込まれます。
返品
カスタムビジネスロジックハンドラーが実行された後にプロセスが取る ActionOnUpdateDeleteConflict アクション。