Compartir a través de


Length Propiedad

Gets or sets the number of characters in the user-defined data type.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Length As Integer
    Get
    Set
'Uso
Dim instance As UserDefinedDataType
Dim value As Integer

value = instance.Length

instance.Length = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public int Length { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property int Length {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Length : int with get, set
function get Length () : int
function set Length (value : int)

Valor de la propiedad

Tipo: System. . :: . .Int32
An Int32 value that specifies the maximum number of characters permitted in the user-defined data type.