IEntityInstanceEnumerator.Close Method
NOTE: This API is now obsolete.
Closes the enumerator.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Sub Close
'Usage
Dim instance As IEntityInstanceEnumerator
instance.Close()
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
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