CleanUpDistributionPublisherByName Method
Questa caratteristica verrà rimossa a partire da una delle prossime versioni di Microsoft SQL Server. Evitare di utilizzare questa caratteristica in un nuovo progetto di sviluppo e prevedere interventi di modifica nelle applicazioni in cui è attualmente implementata.
The CleanUpDistributionPublisherByName method completely removes implementation of publications from the distribution database used by the named Publisher.
Sintassi
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);
Osservazioni
Use the CleanUpDistributionPublisherByName method to remove publication implementation when the Publisher is offline or otherwise not available.