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)
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.
サインインしたメンバーは投稿、更新のフォローなどができます。初めてですか?無料アカウントを登録してください。
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.