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.
範例
請參閱
參考
Microsoft.SqlServer.Management.Smo 命名空間