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)
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.