Share via


StringPropertyTooLongException.MaxLength Property

 

Gets the maximum length that is allowed for the string property.

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

Syntax

public int MaxLength { get; }
public:
property int MaxLength {
    int get();
}
member MaxLength : int with get
Public ReadOnly Property MaxLength As Integer

Property Value

Type: System.Int32

An Int32 value that specifies the maximum length that is allowed for the string property.

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

StringPropertyTooLongException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top