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

ComputerName
IN: Computer network name
SrvName
IN: Server ProgId name

Glossary Item Box

Connect to the named OPC Server on the named machine

Syntax

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

Parameters

ComputerName
IN: Computer network name
SrvName
IN: Server ProgId name

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.