UnregisterBusinessLogicHandler メソッド

ディストリビュータから、ビジネス ロジック ハンドラの登録を削除します。

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public Sub UnregisterBusinessLogicHandler ( _
    businessLogicHandler As BusinessLogicHandler _
)
'使用
Dim instance As DistributionDatabase
Dim businessLogicHandler As BusinessLogicHandler

instance.UnregisterBusinessLogicHandler(businessLogicHandler)
public void UnregisterBusinessLogicHandler(
    BusinessLogicHandler businessLogicHandler
)
public:
void UnregisterBusinessLogicHandler(
    BusinessLogicHandler^ businessLogicHandler
)
member UnregisterBusinessLogicHandler : 
        businessLogicHandler:BusinessLogicHandler -> unit 
public function UnregisterBusinessLogicHandler(
    businessLogicHandler : BusinessLogicHandler
)

パラメーター

説明

UnregisterBusinessLogicHandler(BusinessLogicHandler) メソッドを呼び出すことができるのは、固定サーバー ロール sysadmin のメンバ、および固定データベース ロール db_owner のメンバだけです。

RegisterBusinessLogicHandler(BusinessLogicHandler) を呼び出すと、sp_unregistercustomresolver を実行したのと同じことになります。

UnregisterBusinessLogicHandler(BusinessLogicHandler) メソッドは、SQL Server 2005 以降のバージョンで実行されているサーバーでのみ使用できます。