Поделиться через


Свойство VarCharMax

Gets a data type that specifies the VarCharMax definition used in the data type.

Пространство имен:  Microsoft.SqlServer.Management.Smo
Сборка:  Microsoft.SqlServer.Smo (в Microsoft.SqlServer.Smo.dll)

Синтаксис

'Декларация
Public Shared ReadOnly Property VarCharMax As DataType
    Get
'Применение
Dim value As DataType

value = DataType.VarCharMax
public static DataType VarCharMax { get; }
public:
static property DataType^ VarCharMax {
    DataType^ get ();
}
static member VarCharMax : DataType
static function get VarCharMax () : DataType

Значение свойства

Тип Microsoft.SqlServer.Management.Smo. . :: . .DataType
A DataType object value that specifies a VarCharMax definition in the data type.

Замечания

This data type allows storage of up to a maximum of 2GB of data. You can use the VarCharMax data type as a parameter in stored procedures and string functions. However, you cannot use this data type in the key column of an index.