Share via


ConfigurationSet.TimeZone Property

 

Gets or sets the time zone for the Virtual Machine.

Namespace:   Microsoft.WindowsAzure.Management.Compute.Models
Assembly:  Microsoft.WindowsAzure.Management.Compute (in Microsoft.WindowsAzure.Management.Compute.dll)

Syntax

public string TimeZone { get; set; }
public:
property String^ TimeZone {
    String^ get();
    void set(String^ value);
}
member TimeZone : string with get, set
Public Property TimeZone As String

Property Value

Type: System.String

The time zone.

Remarks

This property is used with the WindowsProvisioningConfiguration configuration type.

For a complete list of supported time zone entries, you can:

  • Refer to the values listed in the registry entry HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones.

  • You can use the tzutil command-line tool to list the valid time.

See Also

ConfigurationSet Class
Microsoft.WindowsAzure.Management.Compute.Models Namespace

Return to top