Compartilhar via


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.

Namespace: Microsoft.SqlServer.Management.Smo.Agent
Assembly: Microsoft.SqlServer.SqlEnum (in microsoft.sqlserver.sqlenum.dll)

Syntax

'Declaration
<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.

Remarks

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

Microsoft.SqlServer.Management.Smo.Agent Namespace