Creates resource instance. Adds it to the data source's Resources property. Loads resource state.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As DataSourceManager
Dim datasource As ESRI.ArcGIS.ADF.Web.DataSources.IGISDataSource
Dim resourceName As String
Dim resourceDefinition As String
Dim dataSourceType As String
Dim resourceType As String
Dim value As ESRI.ArcGIS.ADF.Web.DataSources.IGISResource
value = instance.AddResourceInstanceToDataSource(datasource, resourceName, resourceDefinition, dataSourceType, resourceType) |
Parameters
- datasource
- Datasource to add to
- resourceName
- Name of resource
- resourceDefinition
- Resource definition string
- dataSourceType
- Type of data source
- resourceType
- Type of resource
Return Value
Created 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