CosmosDbKeyEscape.MaxKeyLength 필드

정의

이전 라이브러리의 최대 키 길이는 255개입니다. 이제 제한은 1023입니다. 이 라이브러리에서 255는 이전 버전과의 호환성을 위한 기본값으로 유지됩니다. 이 동작을 재정의하고 더 긴 제한을 사용하려면 CosmosDbPartitionedStorageOptions.CompatibilityMode를 false로 설정합니다. https://docs.microsoft.com/en-us/azure/cosmos-db/concepts-limits#per-item-limits.

public const int MaxKeyLength = 255;
val mutable MaxKeyLength : int
Public Const MaxKeyLength As Integer  = 255

필드 값

Value = 255

적용 대상