Partager via


CleanUpDistributionPublisherByName Method

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

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

Syntaxe

object
.CleanUpDistributionPublisherByName(
Name
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

  • Name
    String that specifies a Publisher by name.

Prototype (C/C++)

HRESULT CleanUpDistributionPublisherByName(
SQLDMO_LPCSTR szName);

Notes

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

Applies to: