Freigeben über


SPRegionalSettings.GetTimeZoneID-Methode

Gibt die ID der Zeitzone der Website basierend auf den Einstellungen angegebene Zeitzone zurück.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetTimeZoneID ( _
    tzi As SPTimeZoneInformation _
) As UShort
'Usage
Dim instance As SPRegionalSettings
Dim tzi As SPTimeZoneInformation
Dim returnValue As UShort

returnValue = instance.GetTimeZoneID(tzi)
public ushort GetTimeZoneID(
    SPTimeZoneInformation tzi
)

Parameter

Rückgabewert

Typ: System.UInt16
Eine Kennung, 16-Bit-Ganzzahl ohne Vorzeichen, die die Zeitzone angibt.

Siehe auch

Referenz

SPRegionalSettings Klasse

SPRegionalSettings-Member

Microsoft.SharePoint-Namespace