Поделиться через


TargetServerStatus Enumeration

The TargetServerStatus enumeration contains values that specify the status of a target server. This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Пространство имен: Microsoft.SqlServer.Management.Smo.Agent
Сборка: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

Синтаксис

'Декларация
<FlagsAttribute> _
Public Enumeration TargetServerStatus
[FlagsAttribute] 
public enum TargetServerStatus
[FlagsAttribute] 
public enum class TargetServerStatus
/** @attribute FlagsAttribute() */ 
public enum TargetServerStatus
FlagsAttribute 
public enum TargetServerStatus

Members

Member name Description
Blocked Communication between the target server and the master server is blocked.
Normal The target server is operating normally.
SuspectedOffline The target server cannot be found and is probably offline.

Замечания

The TargetServerStatus enumeration class is served by the Status property.

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

Платформы

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

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

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

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

См. также

Справочник

Microsoft.SqlServer.Management.Smo.Agent Namespace