View.Close Method

Windows Installer

View.Close Method

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

Syntax

Script
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

VersionWindows Installer 5.0 on 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, Windows XP, and Windows 2000
DLLMsi.dll
IIDIID_IView is defined as 000C109C-0000-0000-C000-000000000046

Send comments about this topic to Microsoft

Build date: 8/13/2009

© 2009 Microsoft Corporation. All rights reserved.