5/13/2011

This class contains methods and properties to add and remove configuration items, and deploy a configuration package to a target collection.

Syntax

class EDM_ProvisioningPackage(
  string 
provisioningPackageUniqueId,
  string 
provisioningItemUniqueIds[],
  string 
sourceSite,
  string 
description,
  string 
platformtype,
  string 
packageID
);

Properties

provisioningPackageUniqueId

Identifier for the configuration package.

provisioningItemUniqueIds

Array of identifiers for the configuration items included in the configuration package.

sourceSite

Site server used to deploy the configuration package.

description

Description of the configuration package.

platformtype

Device type that the configuration package can be applied to (for example, thin client or digital signage).

packageID

Unique identifier of an instance of the SMS_Package class.

Methods

The following table shows the methods in the EDM_ProvisioningPackageclass.

Method

Description

EDM_ProvisioningPackage::AddProvisioningItem

Adds the specified configuration item to the configuration package.

EDM_ProvisioningPackage::CreateInstance

Creates a configuration package.

EDM_ProvisioningPackage::DeleteInstance

Deletes a configuration package.

EDM_ProvisioningPackage::Deploy

Distributes the configuration package to the target collection.

EDM_ProvisioningPackage::Put

Updates the distributed configuration package.

EDM_ProvisioningPackage::RemoveProvisioningItem

Removes the specified configuration item from the configuration package.

Remarks

Starting with the current release, the standard Windows Management Instrumentation (WMI) Putmethod is not supported for the EDM_ProvisoiningPackageclass. Calling this method will cause an Invalid Class (WBEM_E_INVALID_CLASS)exception. Use the EDM_ProvisioningPackage::Putmethod as a replacement for the standard WMI Putmethod.

See Also