다음을 통해 공유


AgentJobHistoryInfo.LastRunDateTime Property

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

네임스페이스: Microsoft.SqlServer.Replication
어셈블리: Microsoft.SqlServer.Rmo (in microsoft.sqlserver.rmo.dll)

구문

‘선언
Public Property LastRunDateTime As String
public string LastRunDateTime { get; set; }
public:
property String^ LastRunDateTime {
    String^ get ();
    void set (String^ value);
}
/** @property */
public String get_LastRunDateTime ()

/** @property */
public void set_LastRunDateTime (String value)
public function get LastRunDateTime () : String

public function set LastRunDateTime (value : 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.

The LastRunDateTime property is available with Microsoft SQL Server 2005 and SQL Server 2000.

The LastRunDateTime property returns an empty string if connected to an instance of SQL Server 7.0.

This namespace, class, or member is supported only in the .NET Framework 2.0.

스레드 보안

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

AgentJobHistoryInfo Class
AgentJobHistoryInfo Members
Microsoft.SqlServer.Replication Namespace