Jaa


CosmosDbPartitionedStorageOptions.KeySuffix Property

Definition

Gets or sets the suffix to be added to every key. EscapeKey(String).

Note: CompatibilityMode must be set to 'false' to use a KeySuffix. When KeySuffix is used, keys will NOT be truncated but an exception will be thrown if the key length is longer than allowed by CosmosDb.

public string KeySuffix { get; set; }
member this.KeySuffix : string with get, set
Public Property KeySuffix As String

Property Value

String containing only valid CosmosDb key characters. (e.g. not: '\', '?', '/', '#', '*').

Applies to