THE WORLD'S LARGEST WEB DEVELOPER SITE

ADO Close Method


Stream Object Reference Complete Stream Object Reference

The Close method is used to close a Connection object, a Record object, a Recordset object, or a Stream object to free system resources. 

Note: When an object is closed, it will not be removed from the memory. It is possible to change the property settings and open it again later.  

Syntax

object.Close

Example

<%
set conn=Server.CreateObject("ADODB.Connection")
conn.Provider="Microsoft.Jet.OLEDB.4.0"
conn.Open "c:/webdata/northwind.mdb"

set rs=Server.CreateObject("ADODB.recordset")
rs.Open "Customers", conn

rs.Close
conn.Close
%>

Stream Object Reference Complete Stream Object Reference

COLOR PICKER

colorpicker

SHARE THIS PAGE






Search w3schools.com:

Translate w3schools.com: