OPCHDA.NET Reference Manual
Connect(String,String) Method
See Also  Send Feedback
OpcHDAWrapperUA.Net4 Assembly > OPCHDA.NET Namespace > OpcHDAServer 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 2008/2012/2016, .NET 4.x

See Also

Copyright © 2002-2018 Advosol Inc. All Rights Reserved.