ArcGIS Explorer Component Help |
Table..::.Name Property |
Table Class Example See Also |
Gets the name of the Table.
Namespace:
ESRI.ArcGISExplorer.DataAssembly: ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)
Syntax
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"