PartitionFunctionParameter.NumericScale 属性

Gets or sets the numeric scale 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 NumericScale As Integer 
    Get 
    Set
用法
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)

属性值

类型:System.Int32
A Byte value that specifies the numeric scale 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)