PartitionFunctionParameter.NumericPrecision 属性

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

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.Design)> _
Public Property NumericPrecision As Integer 
    Get 
    Set
用法
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)

属性值

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

注释

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

示例

使用文件组和文件存储数据

请参阅

参考

PartitionFunctionParameter 类

Microsoft.SqlServer.Management.Smo 命名空间

其他资源

CREATE PARTITION FUNCTION (Transact-SQL)