Creates datasource instance. Adds it to the DataSources property. Loads datasource state.
Syntax
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 ESRI.ArcGIS.ADF.Web.DataSources.IGISDataSource
value = instance.AddDataSourceInstance(type, name, identity, 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
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