GetLogMetadata

Zusammenfassung

Controls whether geoprocessing operations are written to dataset metadata.

Diskussion

To enable the update of dataset metadata, use the SetLogMetadata function or the LogMetadata class.

Syntax

GetLogMetadata ()
Rückgabewert
DatentypErläuterung
Boolean

Returns whether geoprocessing operations are written to dataset metadata.

Codebeispiel

GetLogMetadata example

Disable the update of dataset metadata if enabled.

import arcpy
if arcpy.GetLogMetadata():
    arcpy.SetLogMetadata(False)