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




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 dataSourceInfo As DataSourceInfo _
) As IGISDataSource
Visual Basic (Usage)Copy Code
Dim dataSourceInfo As DataSourceInfo
Dim value As IGISDataSource
 
value = DataSourceDiscoveryUtility.CreateDataSourceInstance(dataSourceInfo)
C# 
public static IGISDataSource CreateDataSourceInstance( 
   DataSourceInfo dataSourceInfo
)

Parameters

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.