The RemoveDriverContent Windows Management Instrumentation (WMI) class method, in Configuration Manager, removes the specified driver from the driver package.

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

SInt32 RemoveDriverContent(
	 UInt32 ContentIDs[],
	 Boolean bRefreshDPs



Data type: UInt32 ArrayQualifiers: [in]The IDs for driver content to remove from the driver package.

Data type: BooleanQualifiers: [in, optional]true, by default, to replicate package changes to the distribution points.

Return Values

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

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


Runtime Requirements

Development Requirements

See Also