MobileGeodatabaseType Enumeration
Opening a Mobile Geodatabase given the path
{
await QueuedTask.Run(() =>
{
// Opens a mobile geodatabase. This will open the geodatabase if the folder exists and contains a valid mobile geodatabase.
using (Geodatabase mobileGeodatabase = new Geodatabase(new MobileGeodatabaseConnectionPath(new Uri(@"C:\Data\LocalGovernment.geodatabase"))))
{
Connector connector = mobileGeodatabase.GetConnector();
if (connector is MobileGeodatabaseConnectionPath mobileConnPath)
{
// Get the type of the mobile geodatabase
MobileGeodatabaseType type = mobileConnPath.Type;
}
}
});
}
System.Object
System.ValueType
System.Enum
ArcGIS.Core.Data.MobileGeodatabaseType
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)
ArcGIS Pro version: 3.8 or higher.