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

定义

获取列或参数的小数位数。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

属性值

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

注解

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

适用于