Export (0) Print
Expand All

ReplicationServer.IsDistributor Property

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Rmo (in Microsoft.SqlServer.Rmo.dll)

public bool IsDistributor { get; }

Property Value

Type: Boolean
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.

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.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft