次の方法で共有


DistributorAvailable Property

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。新規の開発作業ではこの機能を使用しないようにし、現在この機能を使用しているアプリケーションは修正することを検討してください。

The DistributorAvailable property exposes the connected state of a replication Distributor.

構文

object
.DistributorAvailable

Parts

  • object
    An expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetDistributorAvailable(LPBOOL pbDistributorAvailable);

解説

For Microsoft SQL Server, replication Publishers are not required to also distribute published data. One or more instances of SQL Server can act as Distributors. If the Publisher data is not its own Distributor, it relies on a connection to an identified Distributor.

If TRUE, the instance of SQL Server can successfully connect to its identified Distributor.

If FALSE, the instance of SQL Server cannot successfully connect to its identified Distributor.

The property is always TRUE for instances of SQL Server that distribute their own publications.

Applies To:

Distributor Object