Remove Dataset From Multifile Feature Connection (GeoAnalytics Desktop)

Summary

Removes one or more datasets from an existing multifile feature connection (MFC). This tool only removes the dataset from the MFC file, the source data is not modified.

Usage

Parameters

LabelExplanationData Type
Multifile Feature Connection Datasets

The datasets to remove from the .mfc file.

Table View

Derived Output

LabelExplanationData Type
Updated MFC

The input .mfc file with updated datasets.

File

arcpy.geoanalytics.RemoveDatasetFromBDC(bdc_datasets)
NameExplanationData Type
bdc_datasets
[bdc_datasets,...]

The datasets to remove from the .mfc file.

Table View

Derived Output

NameExplanationData Type
updated_bdc

The input .mfc file with updated datasets.

File

Code sample

RemoveDatasetFromBDC (stand-alone script)

The following Python script demonstrates how to use the RemoveDatasetFromBDC tool.

# Name: RemoveDatasetFromBDC.py
# Description: Remove specified datasets from one or more multifile feature connection files.

# Requirements: ArcGIS Pro Advanced License

# Import system modules
import arcpy

# Set local variables
datasets = [r"c:\Projects\MyProjectFolder\my_BigDataConnection.mfc\Dataset1", 
            r"c:\Projects\MyProjectFolder\my_BigDataConnection.mfc\Dataset2"]

# Run Remove Dataset From Multifile Feature Connection
arcpy.gapro.RemoveDatasetFromBDC(datasets)

Environments

This tool does not use any geoprocessing environments.