![]() ![]() |
ESRI.ArcGIS.ADF.IMS | |
FeatureDataset Constructor(String,NamedWorkspace) | |
See Also Send Feedback |
ESRI.ArcGIS.ADF.IMS.Data Namespace > FeatureDataset Class > FeatureDataset Constructor : FeatureDataset Constructor(String,NamedWorkspace) |
- name
- Name for the FeatureDataset.
- workspace
- The workspace for the dataset location, in this case a named workspace in the data source.
Visual Basic (Declaration) | |
---|---|
Public Function New( _ ByVal name As String, _ ByVal workspace As NamedWorkspace _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim name As String Dim workspace As NamedWorkspace Dim instance As New FeatureDataset(name, workspace) |
C# | |
---|---|
public FeatureDataset( string name, NamedWorkspace workspace ) |
Parameters
- name
- Name for the FeatureDataset.
- workspace
- The workspace for the dataset location, in this case a named workspace in the data source.
Use this method to create a dynamic layer from a data source whose workspace is already present in the map service. A dynamic layer is a layer based on data not yet in the map service.
You must know the name of the workspace as given in the SDEWORKSPACE or SHAPEWORKSPACE tag in the ArcXML configuration file for the map service. These workspace names are not available programmatically. Contact the map service author to obtain workspace names if necessary. An alternative is to create a new workspace if you know the source or connection information. In that case, see one of the other constructors for FeatureDataset.
The name argument 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 shapefiles, use the name of the data file without an extension such as STATES. For ArcSDE, use the full name of the layer such as DATA.STATES. Performance is generally better if the name is all upper case.
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