Usage
The output folder location must already exist.
If the output geodatabase name does not include a .geodatabase extension, one will be added.
Syntax
arcpy.management.CreateMobileGDB(out_folder_path, out_name)
Parameter | Explanation | Data Type |
out_folder_path | The folder where the mobile geodatabase will be created. | Folder |
out_name | The name of the mobile geodatabase to be created. | String |
Derived Output
Name | Explanation | Data Type |
out_gdb | The new output mobile geodatabase. | Workspace |
Code sample
Create a mobile geodatabase named MyMobileGDB using the CreateMobileGDB function.
import arcpy
arcpy.CreateMobileGDB_management("C:/MyProject/MyData", "MyMobileGDB")
Environments
This tool does not use any geoprocessing environments.
Licensing information
- Basic: Yes
- Standard: Yes
- Advanced: Yes