SqlFacetAttribute.MaxSize Propriedade
Definição
O tamanho máximo, em unidades lógicas, do tipo de campo subjacente do tipo definido pelo usuário.The maximum size, in logical units, of the underlying field type of the user-defined type.
public:
property int MaxSize { int get(); void set(int value); };
public int MaxSize { get; set; }
member this.MaxSize : int with get, set
Public Property MaxSize As Integer
Valor da propriedade
Um Int32 que representa o tamanho máximo, em unidades lógicas, do tipo de campo subjacente.An Int32 representing the maximum size, in logical units, of the underlying field type.
Comentários
A unidade lógica é de bytes (com um tamanho máximo de 8000) para os tipos de dados binários e não-Unicode e o número de caracteres Unicode (com um tamanho máximo de 4000) para os tipos de campo de caractere.Logical unit is bytes (with a maximum size of 8000) for the binary and non-Unicode data types, and the number of Unicode characters (with a maximum size of 4000) for the character field types.
O valor-1 é reservado para tipos de caracteres grandes e binários.The value -1 is reserved for large character and binary types.
O valor padrão é 4000 para tipos de caracteres Unicode e 8000 para tipos binários e não-Unicode.The default value is 4000 for Unicode character types and 8000 for binary and non-Unicode types.