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
);

Parameters

ContentIDs


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


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.

Requirements

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.