Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there an ArcObjects function to get a short name version of an SDE featureclass?

For example if my featureclass is:


How do I just get "BARLAYER".

Or is it just a simple case of using string manipulation techniques with your language of choice?

BTW - This is an ArcEngine app.

share|improve this question
Why not use IFeatureclass.AliasName? Its purpose is to provide a user friendly name. It is editable via IClassSchemaEdit. – Kirk Kuykendall Sep 27 '11 at 21:01
I think you have to edit that yourself though? – Vidar Sep 28 '11 at 8:37
up vote 5 down vote accepted

Cast the sde workspace to ISqlSyntax and use the ParseTableName function.

share|improve this answer
Brilliant - I don't think I would ever have found that. – Vidar Sep 28 '11 at 8:38

Got LINQ? Just stick a .Split('.').Last() on your property or variable that has the featureclass name.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.