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




resourceTypes
The resource types to get information on. An array of enumeration values (Map, Geocode, Geoprocessing).
webResourceLocation
T:ESRI.ArcGIS.ADF.Web.WebResourceLocation object with the location of images to use in the tree.
populateFolders
Whether to add resource (service) descriptions to the tree.
error
Output parameter: Any error encountered while retrieving resource information.
Gets 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 GISDataSourceBase
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. An array of enumeration values (Map, Geocode, Geoprocessing).
webResourceLocation
T:ESRI.ArcGIS.ADF.Web.WebResourceLocation object with the location of images to use in the tree.
populateFolders
Whether to add resource (service) descriptions to the tree.
error
Output parameter: Any error encountered 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.