ESRI.ArcGIS.ADF.Web.UI.WebControls
AddDataSourceInstance Method
See Also 
ESRI.ArcGIS.ADF.Web.UI.WebControls Namespace > DataSourceManager Class : AddDataSourceInstance Method




type
Type of datasource
name
Name of data source
identity
Identity to use to access the data source, if specified.
definition
Data source definition string
Creates datasource instance. Adds it to the DataSources property. Loads datasource state.

Syntax

Visual Basic (Declaration) 
Public Function AddDataSourceInstance( _
   ByVal type As String, _
   ByVal name As String, _
   ByVal identity As String, _
   ByVal definition As String _
) As IGISDataSource
Visual Basic (Usage)Copy Code
Dim instance As DataSourceManager
Dim type As String
Dim name As String
Dim identity As String
Dim definition As String
Dim value As IGISDataSource
 
value = instance.AddDataSourceInstance(type, name, identity, definition)
C# 
public IGISDataSource AddDataSourceInstance( 
   string type,
   string name,
   string identity,
   string definition
)

Parameters

type
Type of datasource
name
Name of data source
identity
Identity to use to access the data source, if specified.
definition
Data source definition string

Return Value

Created datasource

See Also

© 2010 All Rights Reserved.