ICacheProviderSetData Method |
Sets the data with value and expiration time of key into the cache.
Namespace:
Dundas.BI.Extensibility
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.4.0.1000)
Syntax bool SetData(
string key,
Object value,
TimeSpan timeToLive
)
Function SetData (
key As String,
value As Object,
timeToLive As TimeSpan
) As Boolean
bool SetData(
String^ key,
Object^ value,
TimeSpan timeToLive
)
abstract SetData :
key : string *
value : Object *
timeToLive : TimeSpan -> bool
Parameters
- key
- Type: SystemString
The unique key of the data. - value
- Type: SystemObject
The value to be stored. - timeToLive
- Type: SystemTimeSpan
The expirataion time.
Return Value
Type:
Boolean if the data is succesfully stored in cache; otherwise,
.
Exceptions See Also