UserDefinedType.MaxLength 속성

Gets the maximum length of the alias data type.

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

구문

‘선언
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MaxLength As Integer 
    Get
‘사용 방법
Dim instance As UserDefinedType 
Dim value As Integer 

value = instance.MaxLength
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int MaxLength { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int MaxLength {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MaxLength : int
function get MaxLength () : int

속성 값

유형: System.Int32
An Int32 value that specifies the maximum length of the alias data type.

데이터 형식 사용

참고 항목

참조

UserDefinedType 클래스

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

관련 자료

CLR 사용자 정의 형식 작업

CREATE TYPE(Transact-SQL)