Determines the time in seconds that a cached item will remain in the cache - Read/Write.
Note: The Timeout property is only used if the persistence property of the WebCacheItem is set to 2 - ddTimeout.
object.TimeOut [= value]
The TimeOut property syntax has the following parts:
Part | Description |
---|---|
object | A valid WebCacheItem object |
value | Long value. |
Long
'This example demonstrates how to use the
'Timeout property of the WebCachItem class.
'In the example "aWebCache" is a pre-existing
'variable dimensioned as webcache and it
'has been populated with a webcacheitem
Dim aWebCacheItem As New WebCacheItem
Set aWebCacheItem = aWebCache.Item(0)
aWebCache.Item(0).Persistence = ddTimeout
aWebCacheItem.Timeout = 30
Default value = 0