sp_unregistercustomresolver (Transact-SQL)

Applies to: SQL Server

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

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.