ServerName

<< Click to Display Table of Contents >>

 

ServerName

Text 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. Example:

Sub OPCDriver1_AfterStart()
  MsgBox _
    Application.GetObject("OPCDriver1.OPCGroup1").ServerName
End Sub

Was this page useful?