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