TeamFoundationCatalogService.QueryRootNode Method
Returns the specified root node. Well-known root paths can be found in Microsoft.TeamFoundation.Framework.Common.Catalog.CatalogTree.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function QueryRootNode ( _
requestContext As TeamFoundationRequestContext, _
tree As CatalogTree _
) As CatalogNode
public CatalogNode QueryRootNode(
TeamFoundationRequestContext requestContext,
CatalogTree tree
)
public:
CatalogNode^ QueryRootNode(
TeamFoundationRequestContext^ requestContext,
CatalogTree tree
)
member QueryRootNode :
requestContext:TeamFoundationRequestContext *
tree:CatalogTree -> CatalogNode
public function QueryRootNode(
requestContext : TeamFoundationRequestContext,
tree : CatalogTree
) : CatalogNode
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe context for the current request.
tree
Type: Microsoft.TeamFoundation.Framework.Common.CatalogTreeThe tree of the desired root.
Return Value
Type: Microsoft.TeamFoundation.Server.Core.CatalogNode
The CatalogNode for the tree.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.