Metoda DistributionDatabase.UnregisterBusinessLogicHandler
Usuwa rejestracji dla obsługa logika biznesowa dystrybutora.
Przestrzeń nazw: Microsoft.SqlServer.Replication
Zestaw: Microsoft.SqlServer.Rmo (w Microsoft.SqlServer.Rmo.dll)
Składnia
'Deklaracja
Public Sub UnregisterBusinessLogicHandler ( _
businessLogicHandler As BusinessLogicHandler _
)
'Użycie
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
)
Parametry
- businessLogicHandler
Typ: Microsoft.SqlServer.Replication.BusinessLogicHandler
A BusinessLogicHandler obiekt reprezentujący obsługa logika biznesowa rejestracji, która jest usuwana.
Uwagi
UnregisterBusinessLogicHandler(BusinessLogicHandler) Metoda może być wywoływana tylko przez członków sysadminstała rola serwera i db_owner stałej rola bazy danych
Wywołanie RegisterBusinessLogicHandler(BusinessLogicHandler) jest równoważne wykonywanie sp_unregistercustomresolver.
UnregisterBusinessLogicHandler(BusinessLogicHandler) Metoda może być używany tylko z serwerami, które są uruchomione na SQL Server 2005 i nowsze wersje.