Send feedback on this topic.
Teradata.Client.Provider
Dispose() Method



Teradata.Client.Provider Namespace > TdClob Class : Dispose() Method
Closes the TdClob object and releases all associated resources.
Syntax
'Declaration
 
Public Sub Dispose() 
'Usage
 
Dim instance As TdClob
 
instance.Dispose()
public void Dispose()
public:
void Dispose(); 
Exceptions
ExceptionDescription
The Advanced SQL Engine returned an error or the .NET Data Provider for Teradata detected an error.
Remarks

Closes the TdClob object and releases all associated Server and Client resources. The TdClob.Dispose method is identical to the TdClob.Close method.

It is important that TdClob.Close or TdClob.Dispose is called after the TdClob has been used to process the CLOB. This will free up the resources and the request that was used to retrieve the CLOB from the Advanced SQL Engine. After a TdClob is disposed, an application can only call the Close and Dispose methods or the IsClosed property. All other methods and properties will throw an ObjectDisposedException exception.

Requirements
ProductVersionsPlatforms
.NET2.1, 3.1, 6Windows, Linux, MacOS
.NET Framework4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8Windows
.NET Standard2.0Windows, Linux, MacOS
See Also

Reference

TdClob Class
TdClob Members