ESRI.ArcGIS.ADF.Web.DataSources
Initialize Method
See Also 
ESRI.ArcGIS.ADF.Web.DataSources Namespace > IGISDataSource Interface : Initialize Method




Initializes the GIS data source for use. Deprecated. It is recommended that implementations initialize on demand, i.e., when properties or methods are used that require initialization. Clients of this interface using custom datasource implementations should continue to call this method unless they are sure that the custom datasource initializes on demand.

Syntax

Visual Basic (Declaration) 
<ObsoleteAttribute("It is recommended that implementations initialize on demand, i.e., when properties or methods are used that require initialization.  Clients of this interface using custom datasource implementations should continue to call this method unless they are sure that the custom datasource initializes on demand.")>
Sub Initialize() 
Visual Basic (Usage)Copy Code
Dim instance As IGISDataSource
 
instance.Initialize()
C# 
[ObsoleteAttribute("It is recommended that implementations initialize on demand, i.e., when properties or methods are used that require initialization.  Clients of this interface using custom datasource implementations should continue to call this method unless they are sure that the custom datasource initializes on demand.")]
void Initialize()

Remarks

Override the Initialize method to establish connections and set up the data source for use. When a GIS data source is managed by a resource manager control, the Initialize method is called when a resource that uses the data source is initialized.

See Also

© 2010 All Rights Reserved.