CouchbaseBucket.Touch Method Couchbase .NET SDK 2.3.3
Updates the expiration a key without modifying or returning it's value.

Namespace: Couchbase
Assembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntax
public IOperationResult Touch(
	string key,
	TimeSpan expiration
)

Parameters

key
Type: System.String
The key to "touch".
expiration
Type: System.TimeSpan
The expiration to extend.

Return Value

Type: IOperationResult
An IOperationResult with no value.

Implements

IBucket.Touch(String, TimeSpan)
See Also