Select to view content in your preferred language

How to get selected feature class workspace?

4631
2
09-29-2010 06:58 AM
Udaya_BhaskerCheerala
Emerging Contributor
Hi All,
I would like to get the workspace of selected SDE feature class in arccatalog.

User already connected to arcsde databse and selected a feture class. here I want to get the workspace of selected feature class and create attribute table in that workspace.


Thanks,
Uday
0 Kudos
2 Replies
NeilClemmons
Honored Contributor
The FeatureClass class implements IDataset, which has a Workspace property that returns the workspace the feature class belongs to.
0 Kudos
Udaya_BhaskerCheerala
Emerging Contributor
Thanks Neil, Iam able to get workspace from IDataset

Thanks,
Uday


The FeatureClass class implements IDataset, which has a Workspace property that returns the workspace the feature class belongs to.
0 Kudos