CosmosDbPartitionedStorageOptions.KeySuffix 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得或設定要加入至每個索引鍵的後置詞。 EscapeKey(String).
注意: CompatibilityMode 必須設定為 'false',才能使用 KeySuffix。 使用 KeySuffix 時,不會截斷金鑰,但如果金鑰長度超過 CosmosDb 所允許的長度,則會擲回例外狀況。
public string KeySuffix { get; set; }
member this.KeySuffix : string with get, set
Public Property KeySuffix As String
屬性值
僅包含有效 CosmosDb 索引鍵字元的字串。 (例如:'\'、'?'、'/'、'#'、'*') 。