Share via


ReplicationServer.DistributorAvailable Property

Definition

Gets whether the Distributor for the currently connected instance of Microsoft SQL Server is currently connected and available or not.

public:
 property bool DistributorAvailable { bool get(); };
public bool DistributorAvailable { get; }
member this.DistributorAvailable : bool
Public ReadOnly Property DistributorAvailable As Boolean

Property Value

A Boolean value that specifies whether or not the Distributor is currently connected and available.

If true, the Distributor is connected and available.

If false, the Distributor is not available.

Remarks

The DistributorAvailable property can be retrieved by members of the public fixed database role.

The DistributorAvailable property is equivalent to the sp_helpdistributor (Transact-SQL) stored procedure.

Applies to