共用方式為


SqlWorkflowInstanceStoreElement.HostLockRenewalPeriod 屬性

定義

取得或設定時間週期,在此時間週期內,主機必須更新執行個體上的鎖定。

public:
 property TimeSpan HostLockRenewalPeriod { TimeSpan get(); void set(TimeSpan value); };
[System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))]
[System.Configuration.ConfigurationProperty("hostLockRenewalPeriod", DefaultValue="00:00:30.0", IsRequired=false)]
[System.Configuration.PositiveTimeSpanValidator]
public TimeSpan HostLockRenewalPeriod { get; set; }
[System.Configuration.ConfigurationProperty("hostLockRenewalPeriod", DefaultValue="00:00:30.0", IsRequired=false)]
[System.Configuration.PositiveTimeSpanValidator]
[System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))]
public TimeSpan HostLockRenewalPeriod { get; set; }
[<System.ComponentModel.TypeConverter(typeof(System.Runtime.TimeSpanOrInfiniteConverter))>]
[<System.Configuration.ConfigurationProperty("hostLockRenewalPeriod", DefaultValue="00:00:30.0", IsRequired=false)>]
[<System.Configuration.PositiveTimeSpanValidator>]
member this.HostLockRenewalPeriod : TimeSpan with get, set
[<System.Configuration.ConfigurationProperty("hostLockRenewalPeriod", DefaultValue="00:00:30.0", IsRequired=false)>]
[<System.Configuration.PositiveTimeSpanValidator>]
[<System.ComponentModel.TypeConverter(typeof(System.ServiceModel.Configuration.TimeSpanOrInfiniteConverter))>]
member this.HostLockRenewalPeriod : TimeSpan with get, set
Public Property HostLockRenewalPeriod As TimeSpan

屬性值

TimeSpan

代表鎖定更新期間的 Timespan 物件。

屬性

備註

如果主機未在指定的時間週期內更新鎖定,執行個體就會解除鎖定,且可讓另一個主機執行個體選取。

適用於