Skip to content

Latest commit

 

History

History
58 lines (41 loc) · 2.3 KB

File metadata and controls

58 lines (41 loc) · 2.3 KB
title sp_unregistercustomresolver (Transact-SQL)
description Unregisters a previously registered business logic module.
author markingmyname
ms.author maghan
ms.reviewer randolphwest
ms.date 06/23/2025
ms.service sql
ms.subservice replication
ms.topic reference
f1_keywords
sp_unregistercustomresolver_TSQL
sp_unregistercustomresolver
helpviewer_keywords
sp_unregistercustomresolver
dev_langs
TSQL

sp_unregistercustomresolver (Transact-SQL)

[!INCLUDE SQL Server]

Unregisters a previously registered business logic module. Business logic can be in the form of either a COM component or a [!INCLUDE msCoName] .NET Framework assembly. This stored procedure is executed on the Distributor where the custom business logic was registered.

:::image type="icon" source="../../includes/media/topic-link-icon.svg" border="false"::: Transact-SQL syntax conventions

Syntax

sp_unregistercustomresolver [ @article_resolver = ] N'article_resolver'
[ ; ]

Arguments

[ @article_resolver = ] N'article_resolver'

Specifies the name of the custom business logic being unregistered. @article_resolver is nvarchar(255), with no default. If the business logic being removed is a COM component, this parameter is the friendly name of the component. If the business logic is a .NET Framework assembly, this parameter is the name of the assembly.

Return code values

0 (success) or 1 (failure).

Remarks

sp_unregistercustomresolver is used in merge replication.

Use sp_enumcustomresolvers at any server in the replication topology to return the list of registered custom business logic modules or COM resolvers available to the topology.

Permissions

Only members of the sysadmin fixed server role or db_owner fixed database role can execute sp_unregistercustomresolver.

Related content