ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer
GetDataSourceInfo Method
See Also 
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
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 ResourceType, _
   ByVal webResourceLocation As WebResourceLocation, _
   ByVal populateFolders As Boolean, _
   ByRef error As String _
) As DataSourceInfoTree
Visual Basic (Usage)Copy Code
Dim instance As GISDataSourceBase
Dim resourceTypes() As ResourceType
Dim webResourceLocation As WebResourceLocation
Dim populateFolders As Boolean
Dim error As String
Dim value As DataSourceInfoTree
 
value = instance.GetDataSourceInfo(resourceTypes, webResourceLocation, populateFolders, error)
C# 
public DataSourceInfoTree GetDataSourceInfo( 
   ResourceType[] resourceTypes,
   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
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.

See Also

© 2010 All Rights Reserved.