Share via


CachingStoreProviderNode.SlidingExpiration Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

The latest Enterprise Library information can be found at the Enterprise Library site.

Gets or sets the sliding expiration.

Namespace:  Microsoft.Practices.EnterpriseLibrary.Security.Cache.Configuration.Design
Assembly:  Microsoft.Practices.EnterpriseLibrary.Security.Cache.Configuration.Design (in Microsoft.Practices.EnterpriseLibrary.Security.Cache.Configuration.Design.dll)

Syntax

'Declaration
<AssertRangeAttribute(, RangeBoundaryType.Inclusive, , RangeBoundaryType.Inclusive)> _
<RequiredAttribute> _
Public Property SlidingExpiration As Integer
[AssertRangeAttribute(, RangeBoundaryType.Inclusive, , RangeBoundaryType.Inclusive)]
[RequiredAttribute]
public int SlidingExpiration { get; set; }
[AssertRangeAttribute(, RangeBoundaryType::Inclusive, , RangeBoundaryType::Inclusive)]
[RequiredAttribute]
public:
property int SlidingExpiration {
    int get ();
    void set (int value);
}
public function get SlidingExpiration () : int
public function set SlidingExpiration (value : int)

Field Value

The sliding expiration.

See Also

CachingStoreProviderNode Class

Microsoft.Practices.EnterpriseLibrary.Security.Cache.Configuration.Design Namespace