Gets or sets the default cache duration for a cached persistent.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property PersistentsDefaultDuration As TimeSpan |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As SimpleCacheManager
Dim value As TimeSpan
instance.PersistentsDefaultDuration = value
value = instance.PersistentsDefaultDuration
|
| C# | |
|---|
public TimeSpan PersistentsDefaultDuration {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property TimeSpan get_PersistentsDefaultDuration();
public: __property void set_PersistentsDefaultDuration(
TimeSpan value
); |
| C++/CLI | |
|---|
public:
property TimeSpan PersistentsDefaultDuration {
TimeSpan get();
void set (TimeSpan value);
} |
Requirements
Platforms: Windows 2000, Windows XP family, Windows Server 2003 family, Windows Vista family
See Also