語言

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

屬性值

一個時間跨度物件,代表鎖的續期。

屬性

備註

若主機在指定時間內未續鎖,該實例將被解鎖,並可由其他主機接手。

適用於