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.