Freigeben über


ConsoleParentNode.QueueQueryItems Method (NodeDescription, PaneItemDescriptionBase, Int32, Generic Dictionary, String, Boolean, Boolean, Boolean)

Queues the specified query items based on the supplied current query priority and detailed search folder information.

Namespace: Microsoft.ConfigurationManagement.AdminConsole
Assembly: Microsoft.ConfigurationManagement (in microsoft.configurationmanagement.dll)

Usage

'Usage
Dim instance As ConsoleParentNode
Dim nodeDescriptionItem As NodeDescription
Dim paneItemDescription As PaneItemDescriptionBase
Dim currentQueryPriority As Integer
Dim queryDictionary As Dictionary(Of Guid, AsyncOperationDatabase)
Dim searchFolderInformation As String
Dim findAnywhere As Boolean
Dim searchFolderResultQuery As Boolean
Dim ignoreUserFolderQueries As Boolean

instance.QueueQueryItems(nodeDescriptionItem, paneItemDescription, currentQueryPriority, queryDictionary, searchFolderInformation, findAnywhere, searchFolderResultQuery, ignoreUserFolderQueries)

Syntax

'Declaration
Public Overridable Sub QueueQueryItems ( _
    nodeDescriptionItem As NodeDescription, _
    paneItemDescription As PaneItemDescriptionBase, _
    currentQueryPriority As Integer, _
    queryDictionary As Dictionary(Of Guid, AsyncOperationDatabase), _
    searchFolderInformation As String, _
    findAnywhere As Boolean, _
    searchFolderResultQuery As Boolean, _
    ignoreUserFolderQueries As Boolean _
)
public virtual void QueueQueryItems (
    NodeDescription nodeDescriptionItem,
    PaneItemDescriptionBase paneItemDescription,
    int currentQueryPriority,
    Dictionary<Guid,AsyncOperationDatabase> queryDictionary,
    string searchFolderInformation,
    bool findAnywhere,
    bool searchFolderResultQuery,
    bool ignoreUserFolderQueries
)
public:
virtual void QueueQueryItems (
    NodeDescription^ nodeDescriptionItem, 
    PaneItemDescriptionBase^ paneItemDescription, 
    int currentQueryPriority, 
    Dictionary<Guid, AsyncOperationDatabase^>^ queryDictionary, 
    String^ searchFolderInformation, 
    bool findAnywhere, 
    bool searchFolderResultQuery, 
    bool ignoreUserFolderQueries
)
public void QueueQueryItems (
    NodeDescription nodeDescriptionItem, 
    PaneItemDescriptionBase paneItemDescription, 
    int currentQueryPriority, 
    Dictionary<Guid,AsyncOperationDatabase> queryDictionary, 
    String searchFolderInformation, 
    boolean findAnywhere, 
    boolean searchFolderResultQuery, 
    boolean ignoreUserFolderQueries
)
public function QueueQueryItems (
    nodeDescriptionItem : NodeDescription, 
    paneItemDescription : PaneItemDescriptionBase, 
    currentQueryPriority : int, 
    queryDictionary : Dictionary<Guid,AsyncOperationDatabase>, 
    searchFolderInformation : String, 
    findAnywhere : boolean, 
    searchFolderResultQuery : boolean, 
    ignoreUserFolderQueries : boolean
)

Parameters

  • currentQueryPriority
    [in] Value that specifies the current query priority.
  • queryDictionary
    [in] System.Collections.Generic.Dictionary object that represents AsyncOperationDatabase objects for the query items.
  • searchFolderInformation
    [in] Information about the folder to search for query items.
  • findAnywhere
    [in] true to search anywhere in the search folder.
  • searchFolderResultQuery
    [in] true to search only result queries.
  • ignoreUserFolderQueries
    [in] true to ignore user folder queries.

Exceptions

Exception type Condition
ArgumentNullException

The query is missing a valid QueryType value.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

ConsoleParentNode Class
ConsoleParentNode Members
Microsoft.ConfigurationManagement.AdminConsole Namespace
NodeDescription
PaneItemDescriptionBase
QueryType
AsyncOperationDatabase