ServerStateChanged 事件
当服务器状态变化时发生。
语法
Application
_ServerStateChanged
(ByVal
Area
As String
, ByVal
ServerName
As String
, ByVal
ComputerName
As String
, ByVal
State
As gfxServerStateConstants
)其中
Application
- 使用 WithEvents 关键字声明的 FactoryTalk View SE Client 应用程序对象变量的名称。Area
- 是包含可提供已更改状态的服务器的区域。ServerName
- 是已更改状态的服务器的名称。ComputerName
- 服务器所在计算机的名称。State
- 是类型为 gfxServerStateConstants 的常量,用于代表服务器状态更改后的新状态。备注
对于 FactoryTalk Directory 服务,“Area”参数将为空字符串,且 ServerName 将为 FTDirectory。
提供反馈