Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the ID of the time zone.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Property ID As UShort
Get
Set
'Usage
Dim instance As SPTimeZone
Dim value As UShort
value = instance.ID
instance.ID = value
public ushort ID { get; set; }
Property Value
Type: System.UInt16
A 16-bit integer that specifies the ID.
Remarks
Setting the ID requires a site update through use of the Update method of the SPWeb class. After setting SPWeb.RegionalSettings.TimeZone.ID to a new value, for the change to take effect, it is necessary to call the **SPWeb()**Update method and the **SPUser()**Update method.