共用方式為


UserDefinedType.NumericScale 屬性

Gets the numeric scale of the alias data type.

命名空間:  Microsoft.SqlServer.Management.Smo
組件:  Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)

語法

'宣告
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property NumericScale As Integer 
    Get
'用途
Dim instance As UserDefinedType 
Dim value As Integer 

value = instance.NumericScale
[SfcPropertyAttribute(SfcPropertyFlags.Standalone)]
public int NumericScale { get; }
[SfcPropertyAttribute(SfcPropertyFlags::Standalone)]
public:
property int NumericScale {
    int get ();
}
[<SfcPropertyAttribute(SfcPropertyFlags.Standalone)>]
member NumericScale : int
function get NumericScale () : int

屬性值

型別:System.Int32
An Int32 value that specifies the numeric scale of the alias data type.

範例

使用資料類型

請參閱

參考

UserDefinedType 類別

Microsoft.SqlServer.Management.Smo 命名空間

其他資源

使用 CLR 使用者定義型別

CREATE TYPE (Transact-SQL)