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
)

參數

備註

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.