ContainerDefinition<T>.WithTimeToLivePropertyPath(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET