DistributorInstalled Property

SQL-DMO

SQL-DMO

DistributorInstalled Property

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

Applies To
Distributor Object
Syntax

object.DistributorInstalled

Parts

object

Expression that evaluates to an object in the Applies To list

Data Type

Boolean

Modifiable

Read-only

Prototype (C/C++)

HRESULT GetDistributorInstalled(LPBOOL pRetVal);

Remarks

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.

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