View.Close method

The Close method of the View object terminates query execution and releases database resources.

Syntax

View.Close()

Parameters

This method has no parameters.

Return value

This method does not return a value.

Remarks

This method must be called before the Execute method is called again on the View object unless all rows of the result set have been obtained with the Fetch method. It is called internally when the view is destroyed.

Requirements

Requirement Value
Version
Windows Installer 5.0 on Windows Server 2012, Windows 8, Windows Server 2008 R2 or Windows 7. Windows Installer 4.0 or Windows Installer 4.5 on Windows Server 2008 or Windows Vista. Windows Installer on Windows Server 2003 or Windows XP
DLL
Msi.dll
IID
IID_IView is defined as 000C109C-0000-0000-C000-000000000046