Compartir a través de


CleanUpDistributionPublisherByName Method

Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.

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

Sintaxis

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

Notas

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

Applies to: