Freigeben über


DateFormat-Eigenschaft

Gets the date format for the language.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property DateFormat As String
    Get
'Usage
Dim instance As Language
Dim value As String

value = instance.DateFormat
[SfcPropertyAttribute]
public string DateFormat { get; }
[SfcPropertyAttribute]
public:
property String^ DateFormat {
    String^ get ();
}
[<SfcPropertyAttribute>]
member DateFormat : string
function get DateFormat () : String

Eigenschaftenwert

Typ: System. . :: . .String
A String value that specifies the date format for the language.

Hinweise

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.