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.