UserDefinedType.NumericPrecision 属性

Gets the numeric precision of the alias data type.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property NumericPrecision As Integer 
    Get
用法
Dim instance As UserDefinedType 
Dim value As Integer 

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

属性值

类型:System.Int32
An Int32 value that specifies the numeric precision of the alias data type.

示例

使用数据类型

请参阅

参考

UserDefinedType 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

使用 CLR 用户定义类型

CREATE TYPE (Transact-SQL)