Partager via


Propriété PartitionFunctionParameter.NumericPrecision

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
Public Property NumericPrecision As Integer 
    Get 
    Set
'Utilisation
Dim instance As PartitionFunctionParameter 
Dim value As Integer 

value = instance.NumericPrecision

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

Valeur de propriété

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

Notes

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

Exemples

Utilisation de fichiers ou de groupes de fichiers pour stocker des données

Voir aussi

Référence

PartitionFunctionParameter Classe

Espace de noms Microsoft.SqlServer.Management.Smo

Autres ressources

CREATE PARTITION FUNCTION (Transact-SQL)