ESRI.ArcGIS.ADF.IMS
ImageDataset Constructor(String,SdeWorkspace)
See Also 
ESRI.ArcGIS.ADF.IMS.Data Namespace > ImageDataset Class > ImageDataset Constructor : ImageDataset Constructor(String,SdeWorkspace)




name
The name of the constructed ImageDataset.
workspace
The workspace referenced by the constructed ImageDataset.
Constructs an ImageDataset object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal name As String, _
   ByVal workspace As SdeWorkspace _
)
Visual Basic (Usage)Copy Code
Dim name As String
Dim workspace As SdeWorkspace
 
Dim instance As ImageDataset(name, workspace)
C# 
public ImageDataset( 
   string name,
   SdeWorkspace workspace
)

Parameters

name
The name of the constructed ImageDataset.
workspace
The workspace referenced by the constructed ImageDataset.

Remarks

This method is used to create a new (dynamic) layer using a newly-created workspace. A dynamic layer is a layer based on data not yet in the map service. The workspace does not need to exist in the map service, and no existing layers need to be using the workspace. Use this method when the data are in ArcSDE. Use ImageDataset(string, ImageWorkspace) if the data are in image files on disk.

The name must match the name of the data set in the data source. Do not use an arbitrary name. This name is not the same as the layer name in which the data set will be used. For ArcSDE, use the full name of the layer such as DATA.MYIMAGE.RASTER. Performance is generally better if the name is all upper case. For more information and examples, see the name property.

See Also

© 2010 All Rights Reserved.