OPCAE.NET Reference Manual
GetServerList(Guid[],String[],Guid[]) Method
See Also  Send Feedback
OPCAE Namespace > OpcAEServerBrowser Class > GetServerList Method : GetServerList(Guid[],String[],Guid[]) Method

catList
IN: Array with the Guid of each category to include.
Servers
OUT: ProgId of the enumerated OPC DA V2 servers
ClsIDs
OUT: CLSID of the enumerated OPC DA V2 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(), _
   ByRef ClsIDs As Guid() _
) 
C# 
public void GetServerList( 
   Guid[] catList,
   out string[] Servers,
   out Guid[] ClsIDs
)

Parameters

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

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.