다음을 통해 공유


DataType.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.

Visual Basic

Dim dt As DataType
dt = New DataType(SqlDataType.VarCharMax)

PowerShell

$dt = new-object Microsoft.SqlServer.Management.Smo.DataType([Microsoft.SqlServer.Management.Smo.SqlDataType]::VarCharMax)

참고 항목

참조

DataType 클래스

Microsoft.SqlServer.Management.Smo 네임스페이스