ServiceHealthModel.ProcessInformationModel.SetServiceStartDate(DateTimeOffset) 方法
定义
设置此运行状况服务的开始日期和时间。Sets the start date and time of this health service.
public:
void SetServiceStartDate(DateTimeOffset serviceStartTime);
public void SetServiceStartDate (DateTimeOffset serviceStartTime);
member this.SetServiceStartDate : DateTimeOffset -> unit
Public Sub SetServiceStartDate (serviceStartTime As DateTimeOffset)
参数
- serviceStartTime
- DateTimeOffset
此运行状况服务的开始日期和时间。The start date and time of this health service.
注解
调用此方法将设置属性的值 ServiceStartDate 。Calling this method sets the value of the ServiceStartDate property.