共用方式為


MaxLength 屬性

Gets the maximum length in bytes for a column in the table.

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

語法

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

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

屬性值

型別:System. . :: . .Int16
Int16