The DeleteDiscoveryData Windows Management Instrumentation (WMI) class method, in Configuration Manager, removes information gathered by the forest discovery process.

The following syntax is simplified from Managed Object Format (MOF) code and defines the method.

SInt32 DeleteDiscoveryData(
	 UInt32 ForceDelete



Data type: UInt32Qualifiers: [in]Delete discovered data. Possible values are:


Delete all discovered data excluding forest name and forest properties information.


Delete all data including forest name and forest properties information.

Return Values

An SInt32 data type that is 0 to indicate success or non-zero to indicate failure.

For more information about handling returned errors, see About Configuration Manager Errors.


Runtime Requirements

Development Requirements

See Also