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




name
Name for the FeatureDataset.
workspace
The workspace for the dataset location, specifically a SdeWorkspace.
Constructs a FeatureDataset 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 New FeatureDataset(name, workspace)
C# 
public FeatureDataset( 
   string name,
   SdeWorkspace workspace
)

Parameters

name
Name for the FeatureDataset.
workspace
The workspace for the dataset location, specifically a SdeWorkspace.

Example

For an example of using a new FeatureDataset to create a dynamic map layer, see FeatureLayer(string, FeatureDataset).

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 FeatureDataset(string, ShapeWorkspace) if the data are in shapefiles.

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.STATES. Performance is generally better if the name is all upper case.

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

© 2011 All Rights Reserved.