This method updates the properties of a device imaging deployment.
Syntax
public static void Update( string DeploymentID, string CollectionID, string DeploymentComment, string DeploymentName, DateTime StartTime, bool StartTimeEnabled, bool StartTimeIsGMT, DateTime ExpirationTime, bool ExpirationTimeEnabled, bool ExpirationTimeIsGMT, bool IncludeSubCollection, string OEMPluginID, string ImageFileLocation, string RemoteServerName ); |
Parameters
- DeploymentID
-
[in] Identifier of the device imaging deployment.
- CollectionID
-
[in] Identifier of the collection of devices of this deployment.
- DeploymentComment
-
[in] Comment that describes the deployment.
- DeploymentName
-
[in] Name of the deployment.
- StartTime
-
[in] Date and time when the deployment starts.
- StartTimeEnabled
-
[in] Trueif the deployment starts at the value specified in StartTime. Falseif the deployment starts immediately.
- StartTimeIsGMT
-
[in] Trueif StartTimeis in Coordinated Universal Time (Greenwich Mean Time); Falseotherwise.
- ExpirationTime
-
[in] Date and time when the deployment expires.
- ExpirationTimeEnabled
-
[in] Trueif the deployment expiration time is set. Falseif the deployment expiration time is not set.
- ExpirationTimeIsGMT
-
[in] Trueif ExpirationTimeis in Coordinated Universal Time (Greenwich Mean Time); Falseotherwise.
- IncludeSubCollection
-
[in] Trueif the deployment includes a sub-collection. Falseif the deployment does not include a sub-collection.
- OEMPluginID
-
[in] Identifier of the device imaging component.
- ImageFileLocation
-
[in] File location of the deployment.
- RemoteServerName
-
[in] Name of the deployment remote server.
Return Value
None
Remarks
Some deployment properties can only be updated in certain states of deployment. The following table shows the parameters, which represent the deployment properties that can be updated at each deployment state. The properties that are not listed in this table cannot be updated by this method.
Parameter | Not Started | Started/Suspended | Terminated/Expired |
---|---|---|---|
DeploymentName |
Y |
Y |
Y |
DeploymentComment |
Y |
Y |
Y |
ExpirationTime |
Y |
Y |
N |
RemoteServerName |
Y |
Y |
N |
StartTime |
Y |
N |
N |
CollectionID |
N |
N |
N |
IncludeSubCollection |
N |
N |
N |
OEMPluginID |
N |
N |
N |
ImageFileLocation |
N |
N |
N |