次の方法で共有


LastValidationDateTime.SuccessfulDateTime プロパティ

検証に成功した最新の日付と時刻を取得します。

名前空間:  Microsoft.SqlServer.Replication
アセンブリ:  Microsoft.SqlServer.Rmo (Microsoft.SqlServer.Rmo.dll)

構文

'宣言
Public Property SuccessfulDateTime As String 
    Get 
    Set
'使用
Dim instance As LastValidationDateTime 
Dim value As String 

value = instance.SuccessfulDateTime

instance.SuccessfulDateTime = value
public string SuccessfulDateTime { get; set; }
public:
property String^ SuccessfulDateTime {
    String^ get ();
    void set (String^ value);
}
member SuccessfulDateTime : string with get, set
function get SuccessfulDateTime () : String 
function set SuccessfulDateTime (value : String)

プロパティ値

型: System.String
日付と時刻を表す String 値です。

説明

日付と時刻のデータは、YYYYMMDD hh:mm:ss.fff という形式の文字列です。

  • YYYY は、西暦を 4 桁の数字で表します。

  • MM は、月を 2 桁の数字で表します (ゼロの埋め込みあり)。

  • DD は、日付を 2 桁の数字で表します (ゼロの埋め込みあり)。

  • hh は、時間を 24 時間制の 2 桁の数字で表します (ゼロの埋め込みあり)。

  • mm は、分を 2 桁の数字で表します (ゼロの埋め込みあり)。

  • ss は、秒を 2 桁の数字で表します (ゼロの埋め込みあり)。

  • fff は、小数点以下の秒を 3 桁の数字で表します。

たとえば、値 20040512 18:12:00.000 は、2004 年 5 月 12 日の午後 6 時 12 分を意味します。

関連項目

参照

LastValidationDateTime クラス

Microsoft.SqlServer.Replication 名前空間