AnsweredAssumed Answered

Not displaying Dataset workspace Path when login through arcfm

Question asked by sibghatullah86 on Apr 1, 2017

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.

Outcomes