ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer.Local
CreateResource(ResourceInfo,String) Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources.ArcGISServer Namespace > GISDataSourceLocal Class > CreateResource Method : CreateResource(ResourceInfo,String) Method




resourceInfo
ResourceInfo object with information about the resource.
name
The name of the resource.
Create a resource using a resource definition.

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Function CreateResource( _
   ByVal resourceInfo As ResourceInfo, _
   ByVal name As String _
) As IGISResource
Visual Basic (Usage)Copy Code
Dim instance As GISDataSourceLocal
Dim resourceInfo As ResourceInfo
Dim name As String
Dim value As IGISResource
 
value = instance.CreateResource(resourceInfo, name)
C# 
public override IGISResource CreateResource( 
   ResourceInfo resourceInfo,
   string name
)

Parameters

resourceInfo
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 Local type if appropriate.

See Also

© 2010 All Rights Reserved.