DateFormat 屬性

Gets the date format for the language.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property DateFormat As String
    Get
'用途
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

屬性值

型別:System. . :: . .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.

範例

設定屬性