Skip to content

Latest commit

 

History

History
55 lines (40 loc) · 2.09 KB

File metadata and controls

55 lines (40 loc) · 2.09 KB
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

RemoveDriverContent Method in Class SMS_DriverPackage

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 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.

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