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

The direction to move the browse position.
Indicates the branch name when moving down the hierarchy and the full path to a branch when moving directly to a position. Note: this parameter is ignored when moving up the hierarchy and should be set to an empty string. For OPCHDA_BROWSE_DIRECT, if an empty string is passed, the server shall move the browser to the root position.
Change the current branch. This method provides a way to move up or down relative to the current position, or directly to a given position in a hierarchy.
Syntax
'Usage
 
Dim instance As IBrowserDBA
Dim brwDirection As BrowseDirection
Dim BranchPos As String
Dim value As Integer
 
value = instance.ChangeBrowsePosition(brwDirection, BranchPos)
int ChangeBrowsePosition( 
   BrowseDirection brwDirection,
   string BranchPos
)

Parameters

brwDirection
The direction to move the browse position.
BranchPos
Indicates the branch name when moving down the hierarchy and the full path to a branch when moving directly to a position. Note: this parameter is ignored when moving up the hierarchy and should be set to an empty string. For OPCHDA_BROWSE_DIRECT, if an empty string is passed, the server shall move the browser to the root position.

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