DistributionPublisher.Status Property

Gets the Publisher status.

Пространство имен: Microsoft.SqlServer.Replication
Сборка: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

Синтаксис

'Декларация
Public ReadOnly Property Status As State
public State Status { get; }
public:
property State Status {
    State get ();
}
/** @property */
public State get_Status ()
public function get Status () : State

Значение свойства

A State value. Active means that the Publisher is using the Distributor. Inactive means that the Publisher is not using the Distributor.

Замечания

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.

The Status property is available with SQL Server 7.0, SQL Server 2000, and SQL Server 2005.

This namespace, class, or member is supported only in version 2.0 of the .NET Framework.

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

DistributionPublisher Class
DistributionPublisher Members
Microsoft.SqlServer.Replication Namespace