Свойство AgentJobHistoryInfo.LastRunDateTime

Gets or sets the date and time when the last agent run message was logged.

Пространство имен:  Microsoft.SqlServer.Replication
Сборка:  Microsoft.SqlServer.Rmo (в Microsoft.SqlServer.Rmo.dll)

Синтаксис

'Декларация
Public Property LastRunDateTime As String 
    Get 
    Set
'Применение
Dim instance As AgentJobHistoryInfo 
Dim value As String 

value = instance.LastRunDateTime

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

Значение свойства

Тип: System.String
A String value that specifies a date and time.

Замечания

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

  • 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.

См. также

Справочник

AgentJobHistoryInfo Класс

Пространство имен Microsoft.SqlServer.Replication