This class contains methods and properties to begin a device imaging deployment, suspend a deployment in progress, terminate a deployment, and update deployment properties.
Syntax
public class EDM_ImageDeployment( string DeploymentID, string CollectionID, string DeploymentName, string DeploymentComment, uint32 DeploymentStatus, boolean IncludeSubCollection, string OEMPluginID, string ImageFileLocation, boolean StartTimeEnabled, boolean StartTimeIsGMT, boolean ExpirationTimeEnabled, boolean ExpirationTimeIsGMT, string RemoteServerName, datetime StartTime, datetime ExpirationTime, datetime JobCreationTime ); |
Properties
- DeploymentID
-
Identifier of the device imaging deployment. This is a unique read-only value assigned when the device imaging deployment object is created.
- CollectionID
-
Identifier of the existing device collection, which is the target of the deployment.
- DeploymentName
-
Name of the deployment. This value must be unique.
- DeploymentComment
-
Description of, or comment about the deployment.
- DeploymentStatus
-
Status of the image deployment. This is a read-only value.
- IncludeSubCollection
-
Set to Trueif the deployment object includes subcollections of the specified collection; otherwise, set to False.
- OEMPluginID
-
Identifier for the device imaging component.
- ImageFileLocation
-
Location of the image file. The location can be specified as a UNC path or other value, such as a GUID.
- StartTimeEnabled
-
Set to Trueif the deployment is to start at a specified time; otherwise, set to False.
- StartTimeIsGMT
-
Set to Trueif StartTimeis in Coordinated Universal Time (Greenwich Mean Time); otherwise, set to False.
- ExpirationTimeEnabled
-
Set to Trueif the deployment is to expire at a specified time; otherwise, set to False.
- ExpirationTimeIsGMT
-
Set to Trueif EndTimeis in Coordinated Universal Time (Greenwich Mean Time); otherwise, set to False.
- RemoteServerName
-
Name of a remote imaging server that hosts the device imaging solution, which may be the same server that hosts the device imaging component. This value is returned by the device imaging interface.
- StartTime
-
Date and time for the deployment to start.
- ExpirationTime
-
Date and time that the deployment expires.
- JobCreationTime
-
Date and time that the device imaging request is created.
Methods
The following table shows the methods in the EDM_ImageDeploymentclass.
Method |
Description |
Triggers the start of a device imaging deployment using the given deployment identifier. |
|
Creates a device imaging deployment. |
|
Suspends a device imaging deployment that is in progress. |
|
Terminates a device imaging deployment. |
|
Updates the properties of a device imaging deployment. |
Remarks
Starting with the current release, the standard Windows Management Instrumentation (WMI) Putmethod is not supported for the EDM_ImageDeploymentclass. Calling this method will cause an Invalid Class (WBEM_E_INVALID_CLASS)exception. Use the EDM_ImageDeployment::Updatemethod as a replacement for the standard WMI Putmethod.