Partager via


CalendarType Property

The CalendarType property of the SPRegionalSettings class gets or sets the calendar type used on the server.

Property Value

A 16-bit integer that specifies the type of calendar.

Remarks

The CalendarType property accepts the following integer values:

  • 1 — Gregorian
  • 6 — Hijri
  • 7 — Buddhist
  • 8 — Hebrew Lunar
  • 16 — Saka Era

If set to any other value, the Gregorian calendar is used.

Requirements

Platforms: Microsoft Windows Server 2003

Security: Code Access Security