Partager via


Propriété Language.DateFormat

Gets the date format for the language.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property DateFormat As String 
    Get
'Utilisation
Dim instance As Language 
Dim value As String 

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

Valeur de propriété

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

Notes

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.

Exemples

Définition de propriétés

Voir aussi

Référence

Language Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

sys.syslanguages (Transact-SQL)