Initializes a new FeatureLayer object and connects the layer to an ArcSDE geodatabase feature class.

Namespace:  ESRI.ArcGISExplorer.Mapping

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public static FeatureLayer OpenArcSDETable(
	ArcSDEConnectionProperties connectionProperties,
	string tablename
)
Visual Basic (Declaration)
Public Shared Function OpenArcSDETable ( _
	connectionProperties As ArcSDEConnectionProperties, _
	tablename As String _
) As FeatureLayer

Parameters

connectionProperties
Type: ESRI.ArcGISExplorer.Data..::.ArcSDEConnectionProperties

An ArcSDEConnectionProperties object that contains the connection details for an ArcSDE geodatabase.
tablename
Type: System..::.String

The name of an ArcSDE feature class.

Return Value

A FeatureLayer object connected to the specified ArcSDE feature class.

Remarks

Use this method to both instantiate a FeatureLayer and connect the layer to a feature class stored in an ArcSDE geodatabase. In contrast to the Connect method, an exception will be thrown if the connection properties specified are incorrect.

See Also