PartitionFunctionParameter.NumericScale Property

Gets or sets the numeric scale 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(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
Public Property NumericScale As Integer 
    Get 
    Set
'Usage
Dim instance As PartitionFunctionParameter 
Dim value As Integer 

value = instance.NumericScale

instance.NumericScale = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)]
public int NumericScale { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::Standalone|SfcPropertyFlags::Design)]
public:
property int NumericScale {
    int get ();
    void set (int value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.Standalone|SfcPropertyFlags.Design)>]
member NumericScale : int with get, set
function get NumericScale () : int 
function set NumericScale (value : int)

Property Value

Type: System.Int32
A Byte value that specifies the numeric scale of the partition function parameter.

Remarks

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

Examples

Using Filegroups and Files to Store Data

See Also

Reference

PartitionFunctionParameter Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

CREATE PARTITION FUNCTION (Transact-SQL)