Language.DateFormat Property

Gets the date format for the language.

Пространство имен: Microsoft.SqlServer.Management.Smo
Сборка: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Синтаксис

'Декларация
Public ReadOnly Property DateFormat As String
public string DateFormat { get; }
public:
property String^ DateFormat {
    String^ get ();
}
/** @property */
public String get_DateFormat ()
public function get DateFormat () : String

Значение свойства

A String value that specifies the date format for the language.

Замечания

The DateFormat property is a three-character string describing the position of the day, month, and year members of a date. For example, Microsoft SQL Server language displaying dates in month/day/year order reports mdy in the DateFormat property of the referenced Language object.

Это пространство имен, класс или элемент поддерживаются только платформой Microsoft .NET Framework версии 2.0.

Пример

How to: Get and Set a Property in Visual Basic .NET

Синхронизация потоков

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Платформы

Платформы разработки

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

Целевые платформы

Список поддерживаемых платформ см. в разделе Hardware and Software Requirements for Installing SQL Server 2005.

См. также

Справочник

Language Class
Language Members
Microsoft.SqlServer.Management.Smo Namespace

Другие ресурсы

sys.syslanguages (Transact-SQL)