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

catList
IN: Array with the Guid of each category to include.
Servers
OUT: ProgId of the enumerated OPC servers

Glossary Item Box

Get the names of the OPC servers registered with one of the categories listed in the CategoriesList parameter.
The ProgId of all servers is returned as a string array.
This array can e.g. be directly displayed in a Windos control.

Syntax

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

Parameters

catList
IN: Array with the Guid of each category to include.
Servers
OUT: ProgId of the enumerated OPC 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.