共用方式為


DistributorInstalled Property

未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。

The DistributorInstalled property indicates that an instance of Microsoft SQL Server has been configured to use a replication Distributor.

語法

object.DistributorInstalled

Parts

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

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetDistributorInstalled(LPBOOL pRetVal);

備註

If TRUE, an instance of SQL Server has been correctly configured to act as, or use, a replication Distributor.

If FALSE, an instance of SQL Server has not been configured to act as, or use, a replication Distributor.

If DistributorInstalled returns TRUE, use the DistributorLocal property to determine whether an instance of SQL Server is a replication Distributor.

Applies To: