Edit

Share via


SqlWorkflowInstanceStoreElement.HostLockRenewalPeriod Property

Definition

Gets or sets the time period in which the host must renew the lock on an instance.

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

Property Value

A timespan object that represents the lock renewal period.

Attributes

Remarks

If the host does not renew the lock in the specified time period, the instance is unlocked and may be picked up by another host.

Applies to