Share via


SystemDataType.NumericPrecision Property

Gets the numeric precision of the system data type.

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

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase)> _
Public ReadOnly Property NumericPrecision As Integer 
    Get
'Usage
Dim instance As SystemDataType 
Dim value As Integer 

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

Property Value

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

Examples

Working with Data Types

See Also

Reference

SystemDataType Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Data Types (Database Engine)