ESRI.ArcGIS.ADF.IMS
Workspace Class
Members  See Also 
ESRI.ArcGIS.ADF.IMS.Data Namespace : Workspace Class




An object that points to data and is referenced by a Dataset.

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public MustInherit Class Workspace 
Visual Basic (Usage)Copy Code
Dim instance As Workspace
C# 
[SerializableAttribute()]
public abstract class Workspace 

Remarks

A workspace points to the source of data, either on disk or in an ArcSDE server. Workspaces are used when creating new, dynamic layers in a map.

Workspace is an abstract class. Use one of the classes that inherit from Workspace when creating a dynamic layer:

  • NamedWorkspace - when the workspace already exists in the map configuration file. You must know the name of the workspace independently, since the server does not provide workspace names in the service information.
  • SdeWorkspace - when the data are in an ArcSDE server and the server is not used in static map layers. An SdeWorkspace may be used to add both feature (vector) and raster data.
  • ShapeWorkspace - when the data are shapefiles on disk, and the containing directory is not used in static map layers.
  • ImageWorkspace - when the data are images stored on disk, and the containing directory is not used in static map layers.

Inheritance Hierarchy

See Also

© 2010 All Rights Reserved.