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



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > ServerDescriptor Class : ServerClass Property
Contains {CLSID} (if given) or ProgID of the OPC server.
Syntax
'Declaration
 
<DebuggerBrowsableAttribute(DebuggerBrowsableState.Never)>
<DefaultValueAttribute("")>
<NotNullAttribute()>
Public Shadows Property ServerClass As String
'Usage
 
Dim instance As ServerDescriptor
Dim value As String
 
instance.ServerClass = value
 
value = instance.ServerClass
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[DefaultValue("")]
[NotNull()]
public new string ServerClass {get; set;}
[DebuggerBrowsable(DebuggerBrowsableState.Never)]
[DefaultValue("")]
[NotNull()]
public:
new property String^ ServerClass {
   String^ get();
   void set (    String^ value);
}
Remarks

There are maximum length limitations on the server class.

The ServerClass and ServerProgram return different values if both the CLSID and ProgID are present.

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