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 |
Creates a configuration item. |
|
Deletes the specified configuration item. |
|
Exports the XML string for a specified configuration item. |
|
Populates the configuration item properties with data from the XML input string. |
|
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.