RemoveDriverContent Method in Class SMS_DriverPackage
Applies To: System Center 2012 Configuration Manager, System Center 2012 Configuration Manager SP1, System Center 2012 R2 Configuration Manager
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.
Syntax
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
For more information, see Configuration Manager Server Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Server Development Requirements.
See Also
SMS_DriverPackage Server WMI Class
AddDriverContent Method in Class SMS_DriverPackage
RebuildPackage Method in Class SMS_DriverPackage
ValidateNewPackageSource Method in Class SMS_DriverPackage