ReplicationServer.IsDistributor Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.