SqlMetaData.Scale SqlMetaData.Scale SqlMetaData.Scale SqlMetaData.Scale Property

Definition

获取列或参数的小数位数。 Gets the scale of the column or parameter.

public:
 property System::Byte Scale { System::Byte get(); };
public byte Scale { get; }
member this.Scale : byte
Public ReadOnly Property Scale As Byte

Property Value

列或参数的小数位数。 The scale of the column or parameter.

Remarks

如果未定义基础列类型的小数位数,则返回 0。Returns 0 if the scale of the underlying column type is not defined.

Applies to