MaxLength 属性

Gets the maximum length that is allowed for the string property.

命名空间:  Microsoft.SqlServer.Management.Dmf
程序集:  Microsoft.SqlServer.Dmf(在 Microsoft.SqlServer.Dmf.dll 中)

语法

声明
Public ReadOnly Property MaxLength As Integer
    Get
用法
Dim instance As StringPropertyTooLongException
Dim value As Integer

value = instance.MaxLength
public int MaxLength { get; }
public:
property int MaxLength {
    int get ();
}
member MaxLength : int
function get MaxLength () : int

属性值

类型:System. . :: . .Int32
An Int32 value that specifies the maximum length that is allowed for the string property.

注释

仅 Microsoft .NET Framework 的 2.0 版本支持此命名空间、类或成员。