OPCDA.NET Reference Manual
GetServerList Method
See Also  Send Feedback
OpcDaNetUA.Net4 Assembly > OPC Namespace > OpcServerBrowser Class : GetServerList Method

Glossary Item Box

Get the names of the registerd OPC DA V1, V2, V3 servers. The ProgId of all OPCDA servers is returned as a string array.
This array can e.g. be directly displayed in a Windows control.
The Xi or UA enhanced OPCDA.NET version also includes Xi/UA servers. Enumerating Xi/UA servers requires a 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.

Overload List

OverloadDescription
GetServerList(String[])Get the names of the registerd OPC DA V1, V2, V3 servers. The ProgId of all OPCDA servers is returned as a string array.
This array can e.g. be directly displayed in a Windows control.
The Xi or UA enhanced OPCDA.NET version also includes Xi/UA servers. Enumerating Xi/UA servers requires a 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.  
GetServerList(String[],Guid[])Get the names and CLSIDs of the registerd OPC DA V1, V2, V3 servers.
The ProgId of all OPCDA servers is returned as a string array.
This array can e.g. be directly displayed in a Windows control.  
GetServerList(Boolean,Boolean,String[])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.  
GetServerList(Guid[],String[])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.
 
GetServerList(Guid[],String[],Guid[])Get the names and CLSIDs of the OPC servers registered with one of the categories listed in the CategoriesList parameter.
 

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.