OPC Studio User's Guide and Reference
ServerClass Property (ServerElement)



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > ServerElement Class : ServerClass Property
Returns a string usable for identification of the OPC server when passed to other methods. If the ProgId is not empty, it is used. Otherwise, if the VersionIndependentProgId is not empty, it is used. If both are empty, the string form of server's Clsid is returned.
Syntax
'Declaration
 
<XmlIgnoreAttribute()>
Public ReadOnly Property ServerClass As String
'Usage
 
Dim instance As ServerElement
Dim value As String
 
value = instance.ServerClass
[XmlIgnore()]
public string ServerClass {get;}
[XmlIgnore()]
public:
property String^ ServerClass {
   String^ get();
}

Property Value

The value of this property cannot be null (Nothing in Visual Basic).

The default value of this property is "" (String.Empty).

Remarks
For consistency, the corresponding property or parameter on other objects and methods is also called ServerClass.
Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also