CleanUpDistributionPublisherByName Method (SQL-DMO)

The CleanUpDistributionPublisherByName method completely removes implementation of publications from the distribution database used by the named Publisher.

Applies To

Distributor Object

Syntax

object.CleanUpDistributionPublisherByName( Name )

Part Description
object Expression that evaluates to an object in the Applies To list
Name String specifying a Publisher by name

Remarks

Use the CleanUpDistributionPublisherByName method to remove publication implementation when the Publisher is offline or otherwise not available.

Prototype (C/C++)

HRESULT CleanUpDistributionPublisherByName(
SQLDMO_LPCSTR szName);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.