Compartir a través de


de la propiedad CacheParameter.lifetime

Obtiene o establece el período de retención predeterminado para los elementos de la caché.

Espacio de nombres:  Microsoft.Office.Server.ObjectCache
Ensamblado:  Microsoft.Office.Server (en Microsoft.Office.Server.dll)

Sintaxis

'Declaración
Public Property lifetime As TimeSpan
    Get
    Set
'Uso
Dim instance As CacheParameter
Dim value As TimeSpan

value = instance.lifetime

instance.lifetime = value
public TimeSpan lifetime { get; set; }

Valor de propiedad

Tipo: System.TimeSpan
Devuelve TimeSpan.

Vea también

Referencia

estructura CacheParameter

Miembros CacheParameter

Espacio de nombres Microsoft.Office.Server.ObjectCache