Udostępnij za pośrednictwem


CosmosClientTelemetryOptions.QueryTextMode Property

Definition

Enables printing query in Traces db.query.text attribute. By default, query is not printed. Users have the option to enable printing parameterized or all queries, but has to beware that customer data may be shown when the later option is chosen. It's the user's responsibility to sanitize the queries if necessary.

public Microsoft.Azure.Cosmos.QueryTextMode QueryTextMode { get; set; }
member this.QueryTextMode : Microsoft.Azure.Cosmos.QueryTextMode with get, set
Public Property QueryTextMode As QueryTextMode

Property Value

Applies to