This documentation is archived and is not being maintained.

TeamFoundationCatalogService Class

Visual Studio 2013

System.Object
  Microsoft.TeamFoundation.Server.Core.TeamFoundationCatalogService

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationSecurityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(IdentityService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationPropertyService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLocationService))> _
Public NotInheritable Class TeamFoundationCatalogService _
	Implements ITeamFoundationService, IDisposable

The TeamFoundationCatalogService type exposes the following members.

  NameDescription
Public methodCreateTransactionContextCreates a transaction context to make changes in.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodQueryCatalogDependentsReturns all of the nodes that depend on the nodes existence.
Public methodQueryNodes(TeamFoundationRequestContext, String, Guid)Returns the catalog nodes that exist below the pathSpec and have a type that is listed in resourceTypeFilter. See overloads for more details and more options.
Public methodQueryNodes(TeamFoundationRequestContext, IEnumerable(Of String), IEnumerable(Of Guid), CatalogQueryOptions)Returns the catalog nodes that exist below the parentPath and have a type that is listed in resourceTypeFilters.
Public methodQueryNodes(TeamFoundationRequestContext, String, Guid, IEnumerable(Of KeyValuePair(Of String, String)))
Public methodQueryNodes(TeamFoundationRequestContext, IEnumerable(Of String), IEnumerable(Of Guid), IEnumerable(Of KeyValuePair(Of String, String)), CatalogQueryOptions)Returns the catalog nodes that exist below the parentPath and have a type that is listed in resourceTypeFilters.
Public methodQueryNodes(TeamFoundationRequestContext, String, Guid, IEnumerable(Of KeyValuePair(Of String, String)), CatalogQueryOptions)
Public methodQueryParentsReturns the nodes for the resource provided as well as the parents. The direct nodes and the parent nodes will not be returned if they are filtered out. For the following tree: PG1 / \ PG2 PG3 / \ \ TPC1 TPC2 TPC3 / \ TP1 TP2 Query for TP1's identifier with no filters and recursing to the root would yeild TP1, TPC1, PG2 and PG1.
Public methodQueryResources(TeamFoundationRequestContext, IEnumerable(Of Guid), CatalogQueryOptions)Returns the resource that is associated with the identifier.
Public methodQueryResources(TeamFoundationRequestContext, IEnumerable(Of Guid), IEnumerable(Of KeyValuePair(Of String, String)), CatalogQueryOptions)Retuns all of the catalog resources for the provided types.
Public methodQueryResourcesByTypeRetuns all of the catalog resources for the provided types.
Public methodQueryResourceTypeReturns the resource type for the specified identifier.
Public methodQueryResourceTypesReturns the resource types for all of the specified identifiers. If null or an empty list is passed in, all resource types will be returned.
Public methodQueryRootNodeReturns the specified root node. Well-known root paths can be found in Microsoft.TeamFoundation.Framework.Common.Catalog.CatalogTree.
Public methodQueryRootNodesReturns the root nodes in the tree.
Public methodSaveTransactionContextChangesSaves the changes associated with the transaction context after performing permission checks on them.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIDisposable.DisposeDispose - do not call directly!
Explicit interface implemetationPrivate methodITeamFoundationService.ServiceEndCleans up and resources.
Explicit interface implemetationPrivate methodITeamFoundationService.ServiceStartInitializes the class.
Top

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