Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Precision Property

OracleParameter.Precision Property

NOTE: This property is now obsolete.

Gets or sets the maximum number of digits used to represent the Value property.

Namespace: System.Data.OracleClient
Assembly: System.Data.OracleClient (in system.data.oracleclient.dll)

[ObsoleteAttribute(L"Precision has been deprecated.  Use the Math classes to explicitly set the precision of a decimal.  http://go.microsoft.com/fwlink/?linkid=14202")] 
public:
virtual property unsigned char Precision {
	unsigned char get () sealed;
	void set (unsigned char value) sealed;
}
/** @property */
public final byte get_Precision ()

/** @property */
public final void set_Precision (byte value)

public final function get Precision () : byte

public final function set Precision (value : byte)

Not applicable.

Property Value

The maximum number of digits used to represent the Value property. The default value is 0, which indicates that the data provider sets the precision for Value.

Setting the Precision or Scale properties has no effect.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 1.1, 2.0
Obsolete (compiler warning) in 3.0

Community Additions

ADD
Show:
© 2015 Microsoft