UserDefinedType.MaxLength プロパティ

別名データ型の最大長を取得します。

名前空間:  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
別名データ型の最大長を示す Int32 値です。

使用例

データ型の処理

関連項目

参照

UserDefinedType クラス

Microsoft.SqlServer.Management.Smo 名前空間

その他の技術情報

CLR ユーザー定義型の使用

CREATE TYPE (Transact-SQL)