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




dataSourceType
The type of data source to create a definer for.
target
Value in data source type to search for.
error
Output parameter that stores any errors encountered.
Creates a new data source definer object.

Syntax

Visual Basic (Declaration) 
Public Shared Function CreateDataSourceDefiner( _
   ByVal dataSourceType As String, _
   ByVal target As String, _
   ByRef error As String _
) As IDataSourceDefiner
Visual Basic (Usage)Copy Code
Dim dataSourceType As String
Dim target As String
Dim error As String
Dim value As IDataSourceDefiner
 
value = DataSourceDiscovery.CreateDataSourceDefiner(dataSourceType, target, error)
C# 
public static IDataSourceDefiner CreateDataSourceDefiner( 
   string dataSourceType,
   string target,
   out string error
)

Parameters

dataSourceType
The type of data source to create a definer for.
target
Value in data source type to search for.
error
Output parameter that stores any errors encountered.

Return Value

Data source definer to be used in Manager or web application for setting the data source.

See Also

© 2010 All Rights Reserved.