Share via


SystemDataType.MaximumLength Property

Gets the maximum length of the system data type.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute> _
Public ReadOnly Property MaximumLength As Integer
    Get
'Usage
Dim instance As SystemDataType
Dim value As Integer

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

Property Value

Type: System.Int32
An Int32 value that specifies the maximum length of the system data type.