共用方式為


MaxLength 屬性

Gets the maximum length of the alias data type.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute> _
Public ReadOnly Property MaxLength As Integer
    Get
'用途
Dim instance As UserDefinedType
Dim value As Integer

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

屬性值

型別:System. . :: . .Int32
An Int32 value that specifies the maximum length of the alias data type.