ESRI.ArcGIS.ADF.Web.UI.WebControls
GetResourceDetails Method
See Also 
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 IGISDataSource, _
   ByVal resourceInfo As ResourceInfo, _
   ByVal resourceDefinitionLine As String, _
   ByVal webResourceLocation As WebResourceLocation, _
   ByRef scriptsRequiredByHtml As ScriptTag _
) As String
Visual Basic (Usage)Copy Code
Dim dataSource As IGISDataSource
Dim resourceInfo As ResourceInfo
Dim resourceDefinitionLine As String
Dim webResourceLocation As WebResourceLocation
Dim scriptsRequiredByHtml As ScriptTag
Dim value As String
 
value = DataSourceDiscoveryUtility.GetResourceDetails(dataSource, resourceInfo, resourceDefinitionLine, webResourceLocation, scriptsRequiredByHtml)
C# 
public static string GetResourceDetails( 
   IGISDataSource dataSource,
   ResourceInfo resourceInfo,
   string resourceDefinitionLine,
   WebResourceLocation webResourceLocation,
   out 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.

See Also

© 2010 All Rights Reserved.