Not displaying Dataset workspace Path when login through arcfm

724
0
04-01-2017 11:20 PM
Highlighted
Occasional Contributor

Trying to get Feature Workspace property by using the following code. The code works fine when i am adding data through add data. But when i am trying to login through Arcfm it is not showing.

ESRI.ArcGIS.Geodatabase.IDataset dataset = (ESRI.ArcGIS.Geodatabase.IDataset)(layer); MessageBox.Show(dataset.Workspace.PathName.ToString());

Actually, I want to connect through a related table of a feature layer. There are so many versions in the database so i want to use the layer which is added in ArcMap. Please suggest me any solution. Also, I want to use this workspace to get coded value domain and subtype description.

0 Kudos
0 Replies