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.