ESRI.ArcGIS.ADF.Web.UI.WebControls
CreateNewDataSourceNode Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DataSourceDiscovery Class : CreateNewDataSourceNode Method




dsi
The data source info object to obtain information from.
nodeText
Text to add to the start of the node.
Creates a node for a TreeView with the information from the data source info object.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateNewDataSourceNode( _
   ByVal dsi As ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfo, _
   ByVal nodeText As String _
) As TreeViewPlusNode
Visual Basic (Usage)Copy Code
Dim dsi As ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfo
Dim nodeText As String
Dim value As TreeViewPlusNode
 
value = DataSourceDiscovery.CreateNewDataSourceNode(dsi, nodeText)
C# 
public static TreeViewPlusNode CreateNewDataSourceNode( 
   ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfo dsi,
   string nodeText
)

Parameters

dsi
The data source info object to obtain information from.
nodeText
Text to add to the start of the node.

Return Value

Node with the data source info.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.