Length プロパティ
ユーザー定義データ型の文字数を取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property Length As Integer
Get
Set
'使用
Dim instance As UserDefinedDataType
Dim value As Integer
value = instance.Length
instance.Length = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public int Length { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property int Length {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member Length : int with get, set
function get Length () : int
function set Length (value : int)
プロパティ値
型: System. . :: . .Int32
ユーザー定義データ型で使用できる最大文字数を示す Int32 値。