ContainerBuilder.WithChangeFeedPolicy(TimeSpan) 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.
Defined the change feed policy for this Azure Cosmos container
public Microsoft.Azure.Cosmos.Fluent.ChangeFeedPolicyDefinition WithChangeFeedPolicy(TimeSpan retention);
member this.WithChangeFeedPolicy : TimeSpan -> Microsoft.Azure.Cosmos.Fluent.ChangeFeedPolicyDefinition
Public Function WithChangeFeedPolicy (retention As TimeSpan) As ChangeFeedPolicyDefinition
Parameters
- retention
- TimeSpan
Indicates for how long operation logs have to be retained. FullFidelityRetention.
Returns
An instance of ChangeFeedPolicyDefinition.