OPCAE.NET Reference Manual
Connect(String,Guid) Method
See Also  Send Feedback
OPCAE.NET Namespace > OpcEventServer Class > Connect Method : Connect(String,Guid) Method

ComputerName
IN: network computer name
ClsidOPCserver
IN: CLSID of the server

Glossary Item Box

Connect to the remote OPC Server with the specified CLSID

Syntax

Visual Basic (Declaration) 
Public Overloads Function Connect( _
   ByVal ComputerName As String, _
   ByVal ClsidOPCserver As Guid _
) As Integer
C# 
public int Connect( 
   string ComputerName,
   Guid ClsidOPCserver
)

Parameters

ComputerName
IN: network computer name
ClsidOPCserver
IN: CLSID of the server

Return Value

HRESULTS error/succes code as defined by OPC

Requirements

Target Platforms: Windows 7/8/10, Windows Server 2003/2008/2012/2016, .NET 4.x

See Also

© 2002-2018 Advosol Inc. All Rights Reserved.