ESRI.ArcGIS.ADF.Web.UI.WebControls
CreateDataSourceInstance Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DataSourceDiscovery Class : CreateDataSourceInstance Method




definer
The definer for the data source.
dataSourceInfo
The data source info for which to create the data source instance.
Creates a data source instance given data source info.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateDataSourceInstance( _
   ByVal definer As IDataSourceDefiner, _
   ByVal dataSourceInfo As DataSourceInfo _
) As IGISDataSource
Visual Basic (Usage)Copy Code
Dim definer As IDataSourceDefiner
Dim dataSourceInfo As DataSourceInfo
Dim value As IGISDataSource
 
value = DataSourceDiscovery.CreateDataSourceInstance(definer, dataSourceInfo)
C# 
public static IGISDataSource CreateDataSourceInstance( 
   IDataSourceDefiner definer,
   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.

See Also

© 2010 All Rights Reserved.