次の方法で共有


DateFormat プロパティ

言語の日付形式を取得します。

名前空間:  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
言語の日付形式を示す String 値です。

説明

DateFormat プロパティは、日付の日、月、および年の各メンバの位置を表す 3 文字の文字列です。たとえば、月/日/年の順に日付を表示する Microsoft SQL Server 言語では、参照先の Language オブジェクトの DateFormat プロパティ内に mdy が設定されます。