共用方式為


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: