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 |
Adds the specified configuration item to the configuration package. |
|
Creates a configuration package. |
|
Deletes a configuration package. |
|
Distributes the configuration package to the target collection. |
|
Updates the distributed configuration package. |
|
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.