共用方式為


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)