Partilhar via


ConsoleParentNode.AddRootNodeFolderActions Method

Adds actions and a root query to support folder functionality in the Configuration Manager console.

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

Usage

'Usage
Dim folderInformation As FolderDescription
Dim actions As List(Of ActionDescription)
Dim searchFolderQueriesOnly As Boolean

Me.AddRootNodeFolderActions(folderInformation, actions, searchFolderQueriesOnly)

Syntax

'Declaration
Protected Sub AddRootNodeFolderActions ( _
    folderInformation As FolderDescription, _
    ByRef actions As List(Of ActionDescription), _
    searchFolderQueriesOnly As Boolean _
)
protected void AddRootNodeFolderActions (
    FolderDescription folderInformation,
    ref List<ActionDescription> actions,
    bool searchFolderQueriesOnly
)
protected:
void AddRootNodeFolderActions (
    FolderDescription^ folderInformation, 
    List<ActionDescription^>^% actions, 
    bool searchFolderQueriesOnly
)
protected void AddRootNodeFolderActions (
    FolderDescription folderInformation, 
    /** @ref */ List<ActionDescription> actions, 
    boolean searchFolderQueriesOnly
)

Parameters

  • actions
    [in] Reference to a System.Collections.Generic.List object that represents ActionDescription objects.
  • searchFolderQueriesOnly
    [in] true to support search folder queries only.

Remarks

This method adds only actions that the scope node requires to add a new folder and a query that is used in retrieval of the list of root folders for the node. Actions and queries for lower levels are added during query processing.

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
ActionDescription
FolderDescription