Share via


UserDefinedDataType.MaxLength 속성

Gets the maximum number of characters accepted by the user-defined data type.

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo(Microsoft.SqlServer.Smo.dll)

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property MaxLength As Short 
    Get
‘사용 방법
Dim instance As UserDefinedDataType 
Dim value As Short 

value = instance.MaxLength
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)]
public short MaxLength { get; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase)]
public:
property short MaxLength {
    short get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase)>]
member MaxLength : int16
function get MaxLength () : short

속성 값

유형: System.Int16
An Int16 (short) value that specifies the maximum number of characters accepted by the user-defined data type.

데이터 형식 사용

참고 항목

참조

UserDefinedDataType 클래스

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

관련 자료

데이터 형식(데이터베이스 엔진)

CREATE TYPE(Transact-SQL)