Partager via


MaxLength propriété

Gets the maximum length of the alias data type.

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (dans Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute> _
Public ReadOnly Property MaxLength As Integer
    Get
'Utilisation
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

Valeur de la propriété

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