Share via


ReplicationServer.IsDistributor Property

Definition

Gets whether the currently connected instance of SQL Server is a Distributor or not.

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

Property Value

A Boolean value that specifies whether the currently connected instance of SQL Server is a Distributor or not.

If true, the instance of SQL Server is a Distributor.

If false, the instance of SQL Server is not a Distributor.

Remarks

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

The IsDistributor property is equivalent to the sp_get_distributor (Transact-SQL) stored procedure.

Applies to

See also