OPCDA.NET Reference Manual
GetServerList(Guid[],String[],Guid[]) Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPC Namespace > OpcServerBrowser 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 and CLSIDs of the OPC servers registered with one of the categories listed in the CategoriesList parameter.

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

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