DistributionPublisher.Status 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 the Publisher status.
public:
property Microsoft::SqlServer::Replication::State Status { Microsoft::SqlServer::Replication::State get(); };
public Microsoft.SqlServer.Replication.State Status { get; }
member this.Status : Microsoft.SqlServer.Replication.State
Public ReadOnly Property Status As State
Property Value
The status of the publisher. Active means that the Publisher is using the Distributor. Inactive means that the Publisher is not using the Distributor.
Remarks
The Status property can only be retrieved by members of the sysadmin
fixed server role at the Distributor.
Retrieving the Status property is equivalent to executing sp_helpdistpublisher.