CreateGeodatabase(MemoryConnectionProperties) Method
Creating a memory Geodatabase
public void CreateMemoryGeodatabaseSnippet()
{
// Create the memory connection properties to connect to default memory geodatabase
MemoryConnectionProperties memoryConnectionProperties = new MemoryConnectionProperties();
// Alternatively create the memory connection properties to connect to memory geodatabase named as 'InterimMemoryGeodatabase'
// MemoryConnectionProperties memoryConnectionProperties = new MemoryConnectionProperties("InterimMemoryGeodatabase");
// Creates the new memory geodatabase if it does not exist or connects to an existing one if it already exists
using (Geodatabase geodatabase = new Geodatabase(memoryConnectionProperties))
{
// Create additional schema here
}
}
Target Platforms: Windows 11, Windows 10
ArcGIS Pro version: 3.0 or higher.