Udostępnij za pośrednictwem


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

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

Platforms

Development Platforms

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

Target Platforms

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