ReplicationServer.UnregisterBusinessLogicHandler Method

Removes the registration for a business logic handler from a replication server.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Syntax

'Declaration
Public Sub UnregisterBusinessLogicHandler ( _
    businessLogicHandler As BusinessLogicHandler _
)
public void UnregisterBusinessLogicHandler (
    BusinessLogicHandler businessLogicHandler
)
public:
void UnregisterBusinessLogicHandler (
    BusinessLogicHandler^ businessLogicHandler
)
public void UnregisterBusinessLogicHandler (
    BusinessLogicHandler businessLogicHandler
)
public function UnregisterBusinessLogicHandler (
    businessLogicHandler : BusinessLogicHandler
)

Parameters

  • businessLogicHandler
    A BusinessLogicHandler object that represents the business logic handler registration being removed.

Remarks

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

Calling RegisterBusinessLogicHandler is equivalent to executing sp_unregistercustomresolver (Transact-SQL).

The UnregisterBusinessLogicHandler method can only be used with servers running on SQL Server 2005 and later releases.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ReplicationServer Class
ReplicationServer Members
Microsoft.SqlServer.Replication Namespace