DistributionDatabase.UnregisterBusinessLogicHandler Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.