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 版支援此命名空間、類別或成員。