共用方式為


LastValidationDateTime.AttemptedDateTime 屬性

Gets or sets the date and time when the last validation was attempted.

命名空間:  Microsoft.SqlServer.Replication
組件:  Microsoft.SqlServer.Rmo (在 Microsoft.SqlServer.Rmo.dll 中)

語法

'宣告
Public Property AttemptedDateTime As String 
    Get 
    Set
'用途
Dim instance As LastValidationDateTime 
Dim value As String 

value = instance.AttemptedDateTime

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

屬性值

型別:System.String
A String value that represents the date and time.

備註

The date and time data is a string formatted as YYYYMMDD hh:mm:ss.fff, where:

  • YYYY represents the year in four digits.

  • MM represents the month in two digits (zero padded).

  • DD represents the day of the month in two digits (zero padded).

  • hh represents the hour using two digits, a twenty-four hour clock (zero padded).

  • mm represents the minute in two digits (zero padded).

  • ss represents the second in two digits (zero padded).

  • fff represents the fractional part of the second in three digits.

For example, the value 20040512 18:12:00.000 is interpreted as 6:12 P.M., May 12, 2004.

請參閱

參考

LastValidationDateTime 類別

Microsoft.SqlServer.Replication 命名空間