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

'Declaration
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

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.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Example

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

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 2005.

Target Platforms

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

See Also

Reference

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

Other Resources

sys.syslanguages (Transact-SQL)