OPC Historian .NET Server Toolkit Reference
GetEnum Method (IBrowserDBA)

The type of browse to perform.
The number of enumerated nodes.
The enumerated branch/item nodes.
Enumerate the nodes at the current branch. This method returns a string array with a list of leaves, branches, or ItemIDs, depending on the browse type requested. Whether a branch is an ItemID is undetermined and may be server dependent. The members of the enum set will be determined by the position of the browser in the server address space and the value of the filters when the browser interface was created. If no ItemIDs pass the filter criteria, the enum set is empty. Thus, a server which has a flat namespace would always return an empty array when asked for a list of branches, and it would return the same list whether it was asked for leafs or ItemIDs, since all of its Items are, by definition, leafs.
Syntax
'Usage
 
Dim instance As IBrowserDBA
Dim brwType As BrowseType
Dim count As Integer
Dim nodes As String()
Dim value As Integer
 
value = instance.GetEnum(brwType, count, nodes)
int GetEnum( 
   BrowseType brwType,
   out int count,
   out string[] nodes
)

Parameters

brwType
The type of browse to perform.
count
The number of enumerated nodes.
nodes
The enumerated branch/item nodes.

Return Value

Success/failure HRESULT
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

IBrowserDBA Interface
IBrowserDBA Members

 

 


Copyright © 2004-2019 Advosol Inc. All rights reserved

Send Feedback