Udostępnij przez


Language.DateFormat Property

Gets the date format for the language.

Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in microsoft.sqlserver.smo.dll)

Syntax

'Deklaracja
<SfcPropertyAttribute> _
Public ReadOnly Property DateFormat As String
[SfcPropertyAttribute] 
public string DateFormat { get; }
[SfcPropertyAttribute] 
public:
property String^ DateFormat {
    String^ get ();
}
/** @property */
public String get_DateFormat ()
public function get DateFormat () : String

Property Value

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

Remarks

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.

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.