| title | RemoveDriverContent Method |
|---|---|
| description | In Configuration Manager, the RemoveDriverContent WMI class method removes the specified driver from the driver package. |
| ms.date | 09/20/2016 |
| ms.subservice | sdk |
| ms.topic | reference |
| ms.collection | tier3 |
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
);
ContentIDs
Data type: UInt32 Array
Qualifiers: [in]
The IDs for driver content to remove from the driver package.
bRefreshDPs
Data type: Boolean
Qualifiers: [in, optional]
true, by default, to replicate package changes to the distribution points.
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.
For more information, see Configuration Manager Server Runtime Requirements.
For more information, see Configuration Manager Server Development Requirements.
SMS_DriverPackage Server WMI Class AddDriverContent Method in Class SMS_DriverPackage RebuildPackage Method in Class SMS_DriverPackage ValidateNewPackageSource Method in Class SMS_DriverPackage