OPCDA.NET Reference Manual
GetServerList(Boolean,Boolean,String[]) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPC Namespace > OpcServerBrowser Class > GetServerList Method : GetServerList(Boolean,Boolean,String[]) Method

V2
return V2 servers
V3
return V3 servers
Servers
OUT: Array with CLSIDs of the enumerated OPC DA servers

Glossary Item Box

Browse V2 and/or V3 servers depending on the selection.
The Xi or UA enhanced OPCDA.NET version also includes UA servers. Enumerating Xi/UA servers requires an Xi/UA discovery server to be currently running locally or on the LAN. Only the Xi/UA server discovered on the local or the specified machine are included in the result.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub GetServerList( _
   ByVal V2 As Boolean, _
   ByVal V3 As Boolean, _
   ByRef Servers As String() _
) 
C# 
public void GetServerList( 
   bool V2,
   bool V3,
   out string[] Servers
)

Parameters

V2
return V2 servers
V3
return V3 servers
Servers
OUT: Array with CLSIDs of the enumerated OPC DA servers

Requirements

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

See Also

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