Freigeben über


NumericPrecision-Eigenschaft

Gets or sets the numeric precision of a parameter of a numeric data type.

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

Syntax

'Declaration
<SfcPropertyAttribute> _
Public Property NumericPrecision As Integer
    Get
    Set
'Usage
Dim instance As PartitionFunctionParameter
Dim value As Integer

value = instance.NumericPrecision

instance.NumericPrecision = value
[SfcPropertyAttribute]
public int NumericPrecision { get; set; }
[SfcPropertyAttribute]
public:
property int NumericPrecision {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute>]
member NumericPrecision : int with get, set
function get NumericPrecision () : int
function set NumericPrecision (value : int)

Eigenschaftenwert

Typ: System. . :: . .Int32
A Byte value that specifies the numeric precision of the partition function parameter.

Hinweise

Returns the value 0 if the parameter is not of a numeric data type.