UserDefinedType.MaxLength 屬性
Gets the maximum length of the alias data type.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property MaxLength As Integer
Get
'用途
Dim instance As UserDefinedType
Dim value As Integer
value = instance.MaxLength
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int MaxLength { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int MaxLength {
int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member MaxLength : int
function get MaxLength () : int
屬性值
型別:System.Int32
An Int32 value that specifies the maximum length of the alias data type.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間