As I mentioned before, you can use IWorkspace::DatasetNames to get the feature classes from a workspace. If your feature classes are inside feature datasets then use this method to get the feature datasets then loop through each dataset to get the feature classes.
Dim pPropertySet As IPropertySet pPropertySet = New PropertySet With pPropertySet .SetProperty("Server", Server) .SetProperty("Instance", Instance) .SetProperty("User", Username) .SetProperty("Password", Password) .SetProperty("Version", Version) End With Dim sdeWrkspcFactroy As IWorkspaceFactory sdeWrkspcFactroy = New SdeWorkspaceFactory pWS = sdeWrkspcFactroy.Open(pPropertySet, 0)
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.