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



OpcLabs.EasyOpcClassicCore Assembly > OpcLabs.EasyOpc Namespace > ServerElement Class : Clsid Property
Gets or sets OPC server's class identifier (CLSID).
Syntax
'Declaration
 
<DefaultValueAttribute(System.Guid, "00000000-0000-0000-0000-000000000000")>
<DisplayAttribute(AutoGenerateField=False, ShortName="CLSID")>
Public Property Clsid As Guid
'Usage
 
Dim instance As ServerElement
Dim value As Guid
 
instance.Clsid = value
 
value = instance.Clsid
[DefaultValue(System.Guid, "00000000-0000-0000-0000-000000000000")]
[Display(AutoGenerateField=false, ShortName="CLSID")]
public Guid Clsid {get; set;}
[DefaultValue(System.Guid, "00000000-0000-0000-0000-000000000000")]
[Display(AutoGenerateField=false, ShortName="CLSID")]
public:
property Guid Clsid {
   Guid get();
   void set (    Guid value);
}
Remarks

A CLSID is a globally unique identifier that identifies an OPC server. The OPC server needs to register its CLSID with the system.

In VBScript, use ClsidString instead.

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