Condividi tramite


Proprietà StringPropertyTooLongException.MaxLength

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

Spazio dei nomi  Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Sintassi

'Dichiarazione
Public ReadOnly Property MaxLength As Integer 
    Get
'Utilizzo
Dim instance As StringPropertyTooLongException 
Dim value As Integer 

value = instance.MaxLength
public int MaxLength { get; }
public:
property int MaxLength {
    int get ();
}
member MaxLength : int
function get MaxLength () : int

Valore proprietà

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

Osservazioni

Questo spazio dei nomi, classe o membro è supportato solo nella versione 2.0 di Microsoft .NET Framework.

Esempi

Gestione delle eccezioni SMO

Vedere anche

Riferimento

StringPropertyTooLongException Classe

Spazio dei nomi Microsoft.SqlServer.Management.Dmf