Compartilhar via


Método DistributionDatabase.UnregisterBusinessLogicHandler

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (em Microsoft.SqlServer.Rmo.dll)

Sintaxe

'Declaração
Public Sub UnregisterBusinessLogicHandler ( _
    businessLogicHandler As BusinessLogicHandler _
)
'Uso
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
)

Parâmetros

Comentários

The UnregisterBusinessLogicHandler(BusinessLogicHandler) method can only be called by members of the sysadmin fixed server role and members of the db_owner fixed database role

Calling RegisterBusinessLogicHandler(BusinessLogicHandler) is equivalent to executing sp_unregistercustomresolver.

Consulte também

Referência

DistributionDatabase Classe

Namespace Microsoft.SqlServer.Replication