Just for reference, may be wrong�?�Data Type: IFeatureLayer.DataSourceType �?�Feature Class: IFeatureLayer.featureClass �?�SERVER: IFeatureLayer.featureClass->Idataset->IpropertySet->GetProperty("Server") �?�INSTANCE:IFeatureLayer.featureClass->Idataset->IpropertySet->GetProperty("Instance") �?�Location:IFeatureLayer.featureClass->Idataset->IpropertySet->GetProperty("database") �?�AUTHENTICATION_MODE:IFeatureLayer.featureClass->Idataset->IpropertySet->GetProperty("AUTHENTICATION_MODE") �?�VERSION:IFeatureLayer.featureClass->Idataset->IpropertySet->GetProperty("version")Regards,Bing
You can use pfeatureclass.FeatureDataset if the feature class is stored inside feature dataset. if not use below statement to convert ifeatureclass to idataset and then get the connection properties.IDataset pdataset = pfeatureclass as IDataset;
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.