次の方法で共有


ContainerBuilder.WithChangeFeedPolicy(TimeSpan) Method

Definition

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.

Applies to