다음을 통해 공유


Uninstall Method

Microsoft SQL Server의 이후 버전에서는 이 기능이 제거됩니다. 새 개발 작업에서는 이 기능을 사용하지 말고, 현재 이 기능을 사용하는 응용 프로그램은 수정하십시오.

The Uninstall method removes Microsoft SQL Server components implementing replication.

구문

object
.Uninstall(
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT Uninstall( );
HRESULT Uninstall(BOOL bIgnoreDistributor = FALSE);

주의

Use the Uninstall method of the Publisher object to remove only those components implementing publication. Use the Uninstall method of the Distributor or Replication object to remove all replication-implementing components.

For the Replication object, SQL Distributed Management Objects (SQL-DMO) implements the Boolean argument bIgnoreDistributor. bIgnoreDistributor is evaluated only when the Replication object references a Publisher using a remote Distributor. When TRUE, the Uninstall method removes all components implementing publication and subscription on the Publisher and attempts to connect to the Distributor and remove publication-implementing components.

When FALSE (default), only the Publisher is affected by method execution. Use the CleanUpDistributionPublisherByName method referencing the remote distributor to remove publication-implementing components.

Applies To:

Distributor Object

Replication Object

Publisher Object