Partager via


DistributorInstalled Property

Cette fonctionnalité sera supprimée dans une prochaine version de Microsoft SQL Server. Évitez d'utiliser cette fonctionnalité dans de nouveaux travaux de développement et prévoyez de modifier les applications qui utilisent actuellement cette fonctionnalité.

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

Syntaxe

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);

Notes

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: