OPCHDA.NET Reference Manual
ConnectStatus Property
See Also  Send Feedback
OpcHDAWrapperUA.Net4 Assembly > OPCHDA.NET Namespace > OpcHDAServer Class : ConnectStatus Property

Glossary Item Box

Current server connect status. Contains either 'Connected', 'Disconnected' or the Connect() exception message.
This property doesn't reliably indicate if the server is actually connected and accessible. The main purpose is to give access to the exception message of a failed connect.
For UA servers the property is not set. Check the UA trace log for detailed error information.
For UA servers the application has to catch exceptions and so gets the exception information.

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property ConnectStatus As String
C# 
public string ConnectStatus {get;}

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.