UserDefinedType.NumericPrecision Property

Gets the numeric precision of the alias data type.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.Standalone)> _
Public ReadOnly Property NumericPrecision As Integer 
    Get
'Usage
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

Property Value

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

Examples

Working with Data Types

See Also

Reference

UserDefinedType Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Working with CLR User-defined Types

CREATE TYPE (Transact-SQL)