ESRI.ArcGIS.ADF.Web.DataSources
CreateResource Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IGISDataSource Interface : CreateResource Method




resourceDefinition
The definition of the resource to be created.
name
The name of the resource to be created.
Creates a resource with the provided definition string and name.

Syntax

Visual Basic (Declaration) 
Function CreateResource( _
   ByVal resourceDefinition As String, _
   ByVal name As String _
) As IGISResource
Visual Basic (Usage)Copy Code
Dim instance As IGISDataSource
Dim resourceDefinition As String
Dim name As String
Dim value As IGISResource
 
value = instance.CreateResource(resourceDefinition, name)
C# 
IGISResource CreateResource( 
   string resourceDefinition,
   string name
)

Parameters

resourceDefinition
The definition of the resource to be created.
name
The name of the resource to be created.

Return Value

A GIS resource with the provided definition.

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.