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.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。