5/13/2011

This class contains methods and properties to create a configuration item.

Syntax

class EDM_ProvisioningItem(
  string 
provisioningItemUniqueId,
  string 
type,
  string 
description,
  string 
sourcesite,
  string 
provisioningitemxml,
  string 
supportedDeviceTypes,
  string 
programName,
  string 
commandLine
);

Properties

provisioningItemUniqueId

Identifier for a configuration item.

type

Type of a configuration item.

description

Description of the configuration item.

sourcesite

Site server that distributes a configuration item.

provisioningitemxml

XML file for a configuration item.

supportedDeviceTypes

Values for types of devices supported by the configuration item.

programName

Name of the program for the configuration item.

commandLine

Command line for the configuration item.

Methods

The following table shows the methods in the EDM_ProvisioningItemclass.

Method

Description

EDM_ProvisioningItem::CreateInstance

Creates a configuration item.

EDM_ProvisioningItem::DeleteInstance

Deletes the specified configuration item.

EDM_ProvisioningItem::Export

Exports the XML string for a specified configuration item.

EDM_ProvisioningItem::Import

Populates the configuration item properties with data from the XML input string.

EDM_ProvisioningItem::Put

Updates the existing configuration item.

Remarks

In the current release of Device Manager 2011, the standard Windows Management Instrumentation (WMI) Putmethod is not supported for the EDM_ProvisoiningItemclass. Calling this method will cause an Invalid Class (WBEM_E_INVALID_CLASS)exception. Use the EDM_ProvisioningItem::Putmethod as a replacement for the standard WMI Putmethod.

See Also