Compartilhar via


CleanUpDistributionPublisherByName Method

Esse recurso será removido em uma versão futura do Microsoft SQL Server. Evite usar esse recurso em desenvolvimentos novos e planeje modificar os aplicativos que atualmente o utilizam.

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

Sintaxe

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);

Comentários

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

Applies to: