Freigeben über


UserDefinedType.NumericPrecision-Eigenschaft

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

Eigenschaftswert

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

Beispiele

Arbeiten mit Datentypen

Siehe auch

Verweis

UserDefinedType Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Arbeiten mit CLR-benutzerdefinierten Typen

CREATE TYPE (Transact-SQL)