MaxLength 属性
Gets the maximum number of characters accepted by the user-defined data type.
命名空间: Microsoft.SqlServer.Management.Smo
程序集: Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)
语法
声明
<SfcPropertyAttribute> _
Public ReadOnly Property MaxLength As Short
Get
用法
Dim instance As UserDefinedDataType
Dim value As Short
value = instance.MaxLength
[SfcPropertyAttribute]
public short MaxLength { get; }
[SfcPropertyAttribute]
public:
property short MaxLength {
short get ();
}
[<SfcPropertyAttribute>]
member MaxLength : int16
function get MaxLength () : short
属性值
类型:System. . :: . .Int16
An Int16 (short) value that specifies the maximum number of characters accepted by the user-defined data type.