Метод UnregisterBusinessLogicHandler
Removes the registration for a business logic handler from the Distributor.
Пространство имен: 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
)
Параметры
- businessLogicHandler
Тип: Microsoft.SqlServer.Replication. . :: . .BusinessLogicHandler
A BusinessLogicHandler object that represents the business logic handler registration that is being removed.
Замечания
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.
The UnregisterBusinessLogicHandler(BusinessLogicHandler) method can only be used with servers that are running on SQL Server 2005 and later versions.