QuickOPC 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
 
<ColumnDisplayAttribute(2)>
<DefaultValueAttribute("")>
<DisplayAttribute(AutoGenerateField=False, ShortName="Server Class")>
<XmlIgnoreAttribute()>
Public ReadOnly Property ServerClass As String
'Usage
 
Dim instance As ServerElement
Dim value As String
 
value = instance.ServerClass
[ColumnDisplay(2)]
[DefaultValue("")]
[Display(AutoGenerateField=false, ShortName="Server Class")]
[XmlIgnore()]
public string ServerClass {get;}
[ColumnDisplay(2)]
[DefaultValue("")]
[Display(AutoGenerateField=false, ShortName="Server Class")]
[XmlIgnore()]
public:
property String^ ServerClass {
   String^ get();
}
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