Creates a data source instance given data source info.
Syntax
Visual Basic (Declaration) | |
---|
Public Shared Function CreateDataSourceInstance( _
ByVal definer As ESRI.ArcGIS.ADF.Web.DataSources.IDataSourceDefiner, _
ByVal dataSourceInfo As ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfo _
) As ESRI.ArcGIS.ADF.Web.DataSources.IGISDataSource |
Visual Basic (Usage) | Copy Code |
---|
Dim definer As ESRI.ArcGIS.ADF.Web.DataSources.IDataSourceDefiner
Dim dataSourceInfo As ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfo
Dim value As ESRI.ArcGIS.ADF.Web.DataSources.IGISDataSource
value = DataSourceDiscovery.CreateDataSourceInstance(definer, dataSourceInfo) |
C# | |
---|
public static ESRI.ArcGIS.ADF.Web.DataSources.IGISDataSource CreateDataSourceInstance(
ESRI.ArcGIS.ADF.Web.DataSources.IDataSourceDefiner definer,
ESRI.ArcGIS.ADF.Web.DataSources.DataSourceInfo dataSourceInfo
) |
Parameters
- definer
- The definer for the data source.
- dataSourceInfo
- The data source info for which to create the data source instance.
Return Value
A data source instance.
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