Gets the name of the Table but drops the version and owner prefixes if present.

Namespace:  ESRI.ArcGISExplorer.Data

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

Syntax

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

Field Value

The name of the Table but without any version or owner prefixes. For example, the ShortName of an Oracle ArcSDE table called "myversion.someuser.mytable" would be "mytable".

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