Compartilhar via


DeployManifest.UpdateUnit Property

Gets or sets the units used for the UpdateInterval property.

MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property UpdateUnit As UpdateUnit
public UpdateUnit UpdateUnit { get; set; }
public:
property UpdateUnit UpdateUnit {
    UpdateUnit get ();
    void set (UpdateUnit value);
}
member UpdateUnit : UpdateUnit with get, set
function get UpdateUnit () : UpdateUnit 
function set UpdateUnit (value : UpdateUnit)

Property Value

Type: Microsoft.Build.Tasks.Deployment.ManifestUtilities.UpdateUnit
An UpdateUnit object that indicates the units used for the UpdateInterval property.

Remarks

The following values are available for the units used for the update interval: Days, Hours, and Weeks. For more information, see UpdateUnit.

This input only applies only when Install and UpdateEnabled are both set to true.

.NET Framework Security

See Also

Reference

DeployManifest Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace