<< Click to Display Table of Contents >>
ServerName |
This property returns the name or description of an OPC Server. This property is different from the ServerID property, which is a code. This is a read-only property. The next script contains an example of using this property.
Sub OPCDriver1_AfterStart()
MsgBox _
Application.GetObject("OPCDriver1.OPCGroup1").ServerName
End Sub