共用方式為


Language.DateFormat 屬性

Gets the date format for the language.

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

語法

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

屬性值

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

範例

設定屬性

請參閱

參考

Language 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

sys.syslanguages (Transact-SQL)