SqlWorkflowInstanceStoreElement.HostLockRenewalPeriod Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.