Condividi tramite


Regional Settings Schema

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The Regional Settings schema is used to define the time zones, locales, languages, and currencies implemented within a Windows SharePoint Services deployment. This schema is expressed primarily through two files located in the setup directory, RGNLSTNG.XML (\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\1033\XML) and TIMEZONE.XML (\Program Files\Common Files\Microsoft Shared\web server extensions\12\CONFIG).

You can access or modify regional settings through various members of the following classes in the Microsoft.SharePoint namespace:

SPRegionalSettings

SPTimeZone

SPTimeZoneCollection

SPTimeZoneInformation

SPLocale

SPLocaleCollection

SPLanguage

SPLanguageCollection

Regional Settings Elements

RGNLSTNG.XML

RegionalSettings

  TimeZones

    TimeZone

  Locales

    Locale

  Languages

    Language

  Currencies

    Currency

TIMEZONE.XML

RegionalSettings

  TimeZones

    TimeZone

      Bias

      StandardTime

        Bias

        Date

            Month

            Day

            Hour

            DayOfWeek

      DaylightTime

        Bias

        Date

          Month

          Day

          Hour

          DayOfWeek

      History

        Bias

        StandardTime

          Bias

          Date

            Month

            Day

            Hour

            DayOfWeek

        DaylightTime

        Bias

        Date

          Month

          Day

          Hour

          DayOfWeek