Share via


ContainerDefinition<T>.WithTimeToLivePropertyPath(String) Method

Definition

Sets the time to live base timestamp property path.

public T WithTimeToLivePropertyPath (string propertyPath);
member this.WithTimeToLivePropertyPath : string -> 'T
Public Function WithTimeToLivePropertyPath (propertyPath As String) As T

Parameters

propertyPath
String

This property should be only present when DefaultTimeToLive is set. When this property is present, time to live for a item is decided based on the value of this property in an item. By default, time to live is based on the _ts property in an item. Example: /property

Returns

T

An instance of the current Fluent builder.

Applies to

See also