FirstDayOfWeek Property
未來的 Microsoft SQL Server 版本將移除這項功能。請避免在新的開發工作中使用這項功能,並規劃修改目前使用這項功能的應用程式。
The FirstDayOfWeek property returns the calendar start day of the week for a language record.
語法
object.FirstDayOfWeek
Part
- object
An expression that evaluates to an object in the Applies To list
Data Type
Long
Modifiable
Read-only
Prototype (C/C++)
HRESULT GetFirstDayOfWeek(LPINT pRetVal);
備註
A Microsoft SQL Server language record records the names of the days of the week localized to the language. To enable system selection of the correct day name, the day name string is stored so that the localized name for Monday appears first. For some locales, Monday is not the starting calendar weekday.