Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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.

Community Additions

Show:
© 2015 Microsoft