Share via


ObjectCacheElement.Duration Property

 

Applies To: Dynamics CRM 2015

Gets or sets the cache policy cache duration.

Namespace:   Microsoft.Xrm.Client.Configuration
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

[ConfigurationPropertyAttribute("duration")]
public Nullable<TimeSpan> Duration { get; set; }
public:
[ConfigurationPropertyAttribute("duration")]
property Nullable<TimeSpan> Duration {
    Nullable<TimeSpan> get();
    void set(Nullable<TimeSpan> value);
}
[<ConfigurationPropertyAttribute("duration")>]
member Duration : Nullable<TimeSpan> with get, set
<ConfigurationPropertyAttribute("duration")>
Public Property Duration As Nullable(Of TimeSpan)

Property Value

Type: System.Nullable<TimeSpan>

Type: TimeSpan
.

See Also

ObjectCacheElement Class
Microsoft.Xrm.Client.Configuration Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright