Select to view content in your preferred language

List the List the Featureclass name from Oracle SDE connection in SDK

286
2
03-21-2024 05:36 AM
SumitMishra_016
New Contributor III

How to get the list of Featureclass names from Oracle SDE connection in .NET SDK just like clicking the List of Tables in below screenshot from New Query Layer dialog box in ArcGIS pro 3.2?

sumalain1_0-1711024425608.png

 

0 Kudos
2 Replies
GKmieliauskas
Esri Regular Contributor

Hi,

Look at the ArcGIS Pro SDK community sample DatastoresDefinitionsAndDatasets

0 Kudos
SumitMishra_016
New Contributor III

Hi @GKmieliauskas,

I looked at the ArcGIS Pro SDK community sample DatastoresDefinitionsAndDatasets

I am using Enterprise geodatabase. The code to get the definitions of feature classes is as follows:-

definitions = geodatabase.GetDefinitions<FeatureClassDefinition>().Select(CreateDataSetInfo).ToList();

But the definitions in the above code includes feature classes which don't have access to user. How can I get only definitions that are accessible to the user? And the user need not to be the owner.

0 Kudos