Gets the name of the Table.

Namespace:  ESRI.ArcGISExplorer.Data
Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)

Syntax

C#
public string Name { get; }
Visual Basic (Declaration)
Public ReadOnly Property Name As String

Field Value

The name of the Table.

Examples

The code below opens an ArcSDE feature class using the OpenArcSDETable method, then prints out the AliasName, Name, and ShortName properties.
CopyC#
//Open an Oracle ArcSDE geodatabase feature class called mountains,
//owned by a user called scotadmin which is stored in the SDE.DEFAULT version
ArcSDEConnectionProperties conn = new ArcSDEConnectionProperties("serverName", "5151", "scotuser", "scotuser");
Table mtnsSDE = Table.OpenArcSDETable(conn, "scotadmin.mountains");

System.Diagnostics.Debug.Print(mtnsSDE.AliasName); //Prints "SCOTADMIN.mtns"
System.Diagnostics.Debug.Print(mtnsSDE.Name);      //Prints "SCOTADMIN.mountains"
System.Diagnostics.Debug.Print(mtnsSDE.ShortName); //Prints "mountains"
CopyVB.NET
'Open an Oracle ArcSDE geodatabase feature class called mountains,
'owned by a user scotadmin and stored in the SDE.DEFAULT version
Dim conn As ArcSDEConnectionProperties = New ArcSDEConnectionProperties("serverName", "5151", "scotuser", "scotuser")
Dim mtnsSDE As Table = Table.OpenArcSDETable(conn, "scotadmin.mountains")

System.Diagnostics.Debug.Print(mtnsSDE.AliasName) 'prints "SCOTADMIN.mtns"
System.Diagnostics.Debug.Print(mtnsSDE.Name)      'prints "SCOTADMIN.mountains"
System.Diagnostics.Debug.Print(mtnsSDE.ShortName) 'prints "mountains"

See Also

Relate Topics:
  AliasName Property
  Columns Property
  CoordinateSystem Property
  Extent Property
  GeometryType Property
  HasRelationships Property
  Indexes Property
  IsSpatial Property
  IsSubtyped Property
  Parent Property
  RootDataContainer Property
  ShortName Property
Created by Atop CHM to web converter,© 2009 all right reserved.