共用方式為


Length 屬性

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

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Length As Integer
    Get
    Set
'用途
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)

屬性值

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