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




folder
Folder that will be populated with resources by this method. A FolderNode of ResourceInfo objects.
resourceTypes
The resource types to get information on. An array of ResourceType enumeration values (Map, Geocode, Geoprocessing).
webResourceLocation
T:ESRI.ArcGIS.ADF.Web.WebResourceLocation object with the location of images to use in the tree.
error
Output parameter: Any error encountered while retrieving resource information.
Populates the passed-in folder with assemblies.

Syntax

Visual Basic (Declaration) 
Public Sub GetResourcesInFolder( _
   ByVal folder As ESRI.ArcGIS.ADF.Web.FolderNode(Of ResourceInfo), _
   ByVal resourceTypes() As ESRI.ArcGIS.ADF.Web.DataSources.ResourceType, _
   ByVal webResourceLocation As ESRI.ArcGIS.ADF.Web.WebResourceLocation, _
   ByRef error As String _
) 
Visual Basic (Usage)Copy Code
Dim instance As GISDataSourceBase
Dim folder As ESRI.ArcGIS.ADF.Web.FolderNode(Of ResourceInfo)
Dim resourceTypes() As ESRI.ArcGIS.ADF.Web.DataSources.ResourceType
Dim webResourceLocation As ESRI.ArcGIS.ADF.Web.WebResourceLocation
Dim error As String
 
instance.GetResourcesInFolder(folder, resourceTypes, webResourceLocation, error)
C# 
public void GetResourcesInFolder( 
   ESRI.ArcGIS.ADF.Web.FolderNode<ResourceInfo> folder,
   ESRI.ArcGIS.ADF.Web.DataSources.ResourceType[] resourceTypes,
   ESRI.ArcGIS.ADF.Web.WebResourceLocation webResourceLocation,
   out string error
)

Parameters

folder
Folder that will be populated with resources by this method. A FolderNode of ResourceInfo objects.
resourceTypes
The resource types to get information on. An array of ResourceType enumeration values (Map, Geocode, Geoprocessing).
webResourceLocation
T:ESRI.ArcGIS.ADF.Web.WebResourceLocation object with the location of images to use in the tree.
error
Output parameter: Any error encountered while retrieving resource information.

Return Value

Information on available resources in the folder.

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.