Click to Rate and Give Feedback
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
This page is specific to
The 2007 product release

Other versions are also available for the following:
ResultTableCollection Class (Microsoft.Office.Server.Search.Query)
Represents a collection of ResultTable objects.

Namespace: Microsoft.Office.Server.Search.Query
Assembly: Microsoft.Office.Server.Search (in microsoft.office.server.search.dll)
Visual Basic (Declaration)
<DefaultMemberAttribute("Item")> _
<SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel:=True)> _
Public NotInheritable Class ResultTableCollection
    Implements IEnumerable
Visual Basic (Usage)
Dim instance As ResultTableCollection
C#
[DefaultMemberAttribute("Item")] 
[SharePointPermissionAttribute(SecurityAction.Demand, ObjectModel=true)] 
public sealed class ResultTableCollection : IEnumerable
System.Object
  Microsoft.Office.Server.Search.Query.ResultTableCollection
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Disposing of ResultTableCollection      ZackB   |   Edit   |   Show History

The ResultTableCollection doesn't explicitly expose a Dispose() method, however each of the ResultTables within the collection does. Since the ResultTables contain references to non-managed objects and data they won't be removed by garbage collection unless .Dispose() is explicitly called on them. To avoid a slow buildup of non-freed memory it is a good practice to itterate through all of the collection and explicitly dispose of each of the result tables.

Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement | Site Feedback
Page view tracker