Поделиться через


CleanUpDistributionPublisherByName Method

В будущей версии Microsoft SQL Server эта возможность будет удалена. Избегайте использования этой возможности в новых разработках и запланируйте изменение существующих приложений, в которых она применяется.

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

Синтаксис

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

Замечания

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

Applies to: