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




dataSource
The data source to get information on.
resourceInfo
Contains information to identify the GIS resource.
resourceDefinitionLine
The resource definition string.
webResourceLocation
The URL location for client-side Web ADF resources.
scriptsRequiredByHtml
Output parameter: scripts, if any, that are required for the resource.
Obtains details about a GIS resource.

Syntax

Visual Basic (Declaration) 
Public Shared Function GetResourceDetails( _
   ByVal dataSource As ESRI.ArcGIS.ADF.Web.DataSources.IGISDataSource, _
   ByVal resourceInfo As ESRI.ArcGIS.ADF.Web.DataSources.ResourceInfo, _
   ByVal resourceDefinitionLine As String, _
   ByVal webResourceLocation As ESRI.ArcGIS.ADF.Web.WebResourceLocation, _
   ByRef scriptsRequiredByHtml As ESRI.ArcGIS.ADF.Web.ScriptTag() _
) As String
Visual Basic (Usage)Copy Code
Dim dataSource As ESRI.ArcGIS.ADF.Web.DataSources.IGISDataSource
Dim resourceInfo As ESRI.ArcGIS.ADF.Web.DataSources.ResourceInfo
Dim resourceDefinitionLine As String
Dim webResourceLocation As ESRI.ArcGIS.ADF.Web.WebResourceLocation
Dim scriptsRequiredByHtml As ESRI.ArcGIS.ADF.Web.ScriptTag()
Dim value As String
 
value = DataSourceDiscoveryUtility.GetResourceDetails(dataSource, resourceInfo, resourceDefinitionLine, webResourceLocation, scriptsRequiredByHtml)
C# 
public static string GetResourceDetails( 
   ESRI.ArcGIS.ADF.Web.DataSources.IGISDataSource dataSource,
   ESRI.ArcGIS.ADF.Web.DataSources.ResourceInfo resourceInfo,
   string resourceDefinitionLine,
   ESRI.ArcGIS.ADF.Web.WebResourceLocation webResourceLocation,
   out ESRI.ArcGIS.ADF.Web.ScriptTag[] scriptsRequiredByHtml
)

Parameters

dataSource
The data source to get information on.
resourceInfo
Contains information to identify the GIS resource.
resourceDefinitionLine
The resource definition string.
webResourceLocation
The URL location for client-side Web ADF resources.
scriptsRequiredByHtml
Output parameter: scripts, if any, that are required for the resource.

Return Value

String to display with information about the GIS resource.

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.