Share via


IEntityInstanceEnumerator.Close Method

Closes the enumerator.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Sub Close
'Usage
Dim instance As IEntityInstanceEnumerator

instance.Close()
void Close()

Remarks

This is a very important method. Always close the enumerator when you have finished using it to prevent connection leaks.

See Also

Reference

IEntityInstanceEnumerator Interface

IEntityInstanceEnumerator Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace