DB2®Clob.Value Property
Gets the value stored in the DB2Clob structure.
- Namespace:
IBM.Data.DB2Types
- Assembly:
IBM.Data.DB2
(inIBM.Data.DB2.dll
)
Syntax
[Visual Basic]
Public ReadOnly Property Value As String
[C#]
public string Value {get;}
[C++]
public: __property string get_Value();
[JScript]
public function get Value() : string;
Property value
A character string representing the DB2Clob instance.
Exceptions
Exception type | Condition |
---|---|
InvalidOperationException | There is no more data to return. |
Remarks
If the CacheData property
is
false
, applications can only retrieve the complete
set of data from a DB2Clob instance once. Any additional attempts
at retrieving data will result in an InvalidOperationException.
The specific implications of this are: - This property can only be used to retrieve data from a DB2Clob instance once.
- If you use this property to retrieve data from a DB2Clob instance, you cannot use the ToString or GetChars methods to do the same.
- If you have already used the ToString or GetChars methods to retrieve data from a DB2Clob instance, you cannot use this property to do the same.
true
,
data can be read from the DB2Clob structure, using
any of the access methods.