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




resourceInfo
Information about the resource.
name
The name of the resource.
Create a resource using a resource definition

Syntax

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

Parameters

resourceInfo
Information about the resource.
name
The name of the resource.

Return Value

A resource.

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.