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)

Usage

'Usage
Dim instance As ConfigurationSet
Dim value As String

value = instance.TimeZone

instance.TimeZone = value

Syntax

'Declaration
Public Property TimeZone As String
public string TimeZone { get; set; }
public:
property String^ TimeZone {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_TimeZone ()

/** @property */
public void set_TimeZone (String value)
public function get TimeZone () : String

public function set TimeZone (value : String)

Property Value

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.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

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