QuickOPC User's Guide and Reference
ServerDescriptor Constructor(String,ComClassRegistration)



OpcLabs.EasyOpcClassic Assembly > OpcLabs.EasyOpc Namespace > ServerDescriptor Class > ServerDescriptor Constructor : ServerDescriptor Constructor(String,ComClassRegistration)
Name of the machine (computer on which the object is located).
Registration data of a COM class.
Initializes a new instance of the ServerDescriptor class.Initializes a new instance of the class, given the machine name and a OpcLabs.BaseLib.ComInterop.Database.ComClassRegistration.
Syntax
'Declaration
 
Public Function New( _
   ByVal machineName As String, _
   ByVal comClassRegistration As ComClassRegistration _
)
'Usage
 
Dim machineName As String
Dim comClassRegistration As ComClassRegistration
 
Dim instance As New ServerDescriptor(machineName, comClassRegistration)
public ServerDescriptor( 
   string machineName,
   ComClassRegistration comClassRegistration
)
public:
ServerDescriptor( 
   String^ machineName,
   ComClassRegistration^ comClassRegistration
)

Parameters

machineName
Name of the machine (computer on which the object is located).
comClassRegistration
Registration data of a COM class.
Requirements

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

See Also

Reference

ServerDescriptor Class
ServerDescriptor Members
Overload List