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 对象。

属性

注解

如果宿主没有在指定的时间段内续订锁定,则会解除锁定此实例,并且另一宿主可能会选取此实例。

适用于