UserDefinedType.NumericScale Property

Gets the numeric scale 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 NumericScale As Integer 
    Get
'Usage
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

Property Value

Type: System.Int32
An Int32 value that specifies the numeric scale 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)