Create a resource using a resource definition.
Syntax
Visual Basic (Declaration) | |
---|
Public Overloads Overrides Function CreateResource( _
ByVal resourceInfo As ESRI.ArcGIS.ADF.Web.DataSources.ResourceInfo, _
ByVal name As String _
) As ESRI.ArcGIS.ADF.Web.DataSources.IGISResource |
Visual Basic (Usage) | Copy Code |
---|
Dim instance As GISDataSourceInternet
Dim resourceInfo As ESRI.ArcGIS.ADF.Web.DataSources.ResourceInfo
Dim name As String
Dim value As ESRI.ArcGIS.ADF.Web.DataSources.IGISResource
value = instance.CreateResource(resourceInfo, name) |
C# | |
---|
public override ESRI.ArcGIS.ADF.Web.DataSources.IGISResource CreateResource(
ESRI.ArcGIS.ADF.Web.DataSources.ResourceInfo resourceInfo,
string name
) |
Parameters
- resourceInfo
- T:ESRI.ArcGIS.ADF.Web.DataSources.ResourceInfo object with information about the resource.
- name
- The name of the resource.
Return Value
A GIS resource as an
IGISResource. Cast to a the appropriate ArcGIS Server Internet type if appropriate.
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