NumericScale プロパティ
ユーザー定義データ型の定義で使用される数値の、小数点より右側の最大桁数を取得します。値の設定も可能です。
名前空間: Microsoft.SqlServer.Management.Smo
アセンブリ: Microsoft.SqlServer.Smo (Microsoft.SqlServer.Smo.dll)
構文
'宣言
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property NumericScale As Integer
Get
Set
'使用
Dim instance As UserDefinedDataType
Dim value As Integer
value = instance.NumericScale
instance.NumericScale = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public int NumericScale { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property int NumericScale {
int get ();
void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member NumericScale : int with get, set
function get NumericScale () : int
function set NumericScale (value : int)
プロパティ値
型: System. . :: . .Int32
ユーザー定義データ型の数値の小数点以下桁数を示す Byte 値。
説明
小数点以下桁数は、数値の小数点より右側にある数字の数を示します。たとえば、123.45 という数値の小数点以下桁数は 2 です。