SPTimeZone.ID property
取得或設定的時區識別碼。
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'宣告
Public Property ID As UShort
Get
Set
'用途
Dim instance As SPTimeZone
Dim value As UShort
value = instance.ID
instance.ID = value
public ushort ID { get; set; }
Property value
Type: System.UInt16
16 位元的整數,指定 id。
備註
設定 ID 必須透過使用SPWeb類別的Update方法的網站更新。之後將SPWeb.RegionalSettings.TimeZone.ID設定為新的值,以使變更生效,則必須呼叫**SPWeb()Update方法和SPUser()**Update方法。