ESRI.ArcGIS.ADF.Web.DataSources.IMS
GetDataSourceInfo Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources.IMS Namespace > GISDataSource Class : GetDataSourceInfo Method




resourceTypes
The resource types to get information on.
webResourceLocation
The location of images to use in the tree
populateFolders
Whether to populate folders. Not used.
error
Any error while retrieving resource information
Get information on available resources

Syntax

Visual Basic (Declaration) 
Public Function GetDataSourceInfo( _
   ByVal resourceTypes() As ESRI.ArcGIS.ADF.Web.DataSources.ResourceType, _
   ByVal webResourceLocation As ESRI.ArcGIS.ADF.Web.WebResourceLocation, _
   ByVal populateFolders As Boolean, _
   ByRef error As String _
) As ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfoTree
Visual Basic (Usage)Copy Code
Dim instance As GISDataSource
Dim resourceTypes() As ESRI.ArcGIS.ADF.Web.DataSources.ResourceType
Dim webResourceLocation As ESRI.ArcGIS.ADF.Web.WebResourceLocation
Dim populateFolders As Boolean
Dim error As String
Dim value As ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfoTree
 
value = instance.GetDataSourceInfo(resourceTypes, webResourceLocation, populateFolders, error)
C# 
public ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfoTree GetDataSourceInfo( 
   ESRI.ArcGIS.ADF.Web.DataSources.ResourceType[] resourceTypes,
   ESRI.ArcGIS.ADF.Web.WebResourceLocation webResourceLocation,
   bool populateFolders,
   out string error
)

Parameters

resourceTypes
The resource types to get information on.
webResourceLocation
The location of images to use in the tree
populateFolders
Whether to populate folders. Not used.
error
Any error while retrieving resource information

Return Value

Information on available resources

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.