ESRI.ArcGIS.ADF.Web.DataSources
CreateResource Method
See Also 
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.

See Also

© 2010 All Rights Reserved.