JobStep.LastRunDate 属性
Gets the date and time when the job step was last executed.
命名空间: Microsoft.SqlServer.Management.Smo.Agent
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property LastRunDate As DateTime
Get
用法
Dim instance As JobStep
Dim value As DateTime
value = instance.LastRunDate
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public DateTime LastRunDate { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property DateTime LastRunDate {
DateTime get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member LastRunDate : DateTime
function get LastRunDate () : DateTime
属性值
类型:System.DateTime
A DateTime object value that specifies the date and time when the job step was last run.
示例
请参阅
参考
Microsoft.SqlServer.Management.Smo.Agent 命名空间