DistributionDatabase.UnregisterBusinessLogicHandler Method

Definition

Removes the registration for a business logic handler from the Distributor.

public:
 void UnregisterBusinessLogicHandler(Microsoft::SqlServer::Replication::BusinessLogicHandler ^ businessLogicHandler);
public void UnregisterBusinessLogicHandler (Microsoft.SqlServer.Replication.BusinessLogicHandler businessLogicHandler);
member this.UnregisterBusinessLogicHandler : Microsoft.SqlServer.Replication.BusinessLogicHandler -> unit
Public Sub UnregisterBusinessLogicHandler (businessLogicHandler As BusinessLogicHandler)

Parameters

businessLogicHandler
BusinessLogicHandler

A BusinessLogicHandler object that represents the business logic handler registration that is being removed.

Remarks

The <xref:Microsoft.SqlServer.Replication.ReplicationServer.UnregisterBusinessLogicHandler%2A> method can only be called by members of the sysadmin fixed server role and members of the db_owner fixed database role

Calling <xref:Microsoft.SqlServer.Replication.ReplicationServer.RegisterBusinessLogicHandler%2A> is equivalent to executing sp_unregistercustomresolver.

Applies to