Delen via


TeamFoundationTeam Class

This is a wrapper class for a Team identity that makes it convenient for working with properties. It also provides helper methods to create, update, query and read Teams on server.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.IdentityPropertiesView
    Microsoft.TeamFoundation.Server.Core.TeamFoundationTeam

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

Syntax

'Declaration
Public Class TeamFoundationTeam _
    Inherits IdentityPropertiesView
public class TeamFoundationTeam : IdentityPropertiesView
public ref class TeamFoundationTeam : public IdentityPropertiesView
type TeamFoundationTeam =  
    class 
        inherit IdentityPropertiesView 
    end
public class TeamFoundationTeam extends IdentityPropertiesView

The TeamFoundationTeam type exposes the following members.

Constructors

  Name Description
Public method TeamFoundationTeam

Top

Properties

  Name Description
Public property Description
Public property EffectiveNamespace Effective property name prefix for view property methods. Its value is: Namespace + NamespaceSuffix (Inherited from IdentityPropertiesView.)
Public property Identity (Inherited from IdentityPropertiesView.)
Public property Name Gets or sets the team's name.
Protected property Namespace (Overrides IdentityPropertiesView.Namespace.)
Public property NamespaceSuffix Extra namespace modifier for view customization (Inherited from IdentityPropertiesView.)
Public property Project Gets or sets the team Project URI.

Top

Methods

  Name Description
Public method ClearPropertiesUnder(String) (Inherited from IdentityPropertiesView.)
Public method ClearPropertiesUnder(IdentityPropertyScope, String) (Inherited from IdentityPropertiesView.)
Public method ClearViewProperties() (Inherited from IdentityPropertiesView.)
Public method ClearViewProperties(IdentityPropertyScope) (Inherited from IdentityPropertiesView.)
Protected method EnsureIdentityAndProperties (Inherited from IdentityPropertiesView.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetProperties() Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names. (Inherited from IdentityPropertiesView.)
Public method GetProperties(IdentityPropertyScope) Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names. (Inherited from IdentityPropertiesView.)
Public method GetPropertiesStartsWith(String) (Inherited from IdentityPropertiesView.)
Public method GetPropertiesStartsWith(IdentityPropertyScope, String) (Inherited from IdentityPropertiesView.)
Public method GetProperty(String) Property accessor. Will throw if not found. (Inherited from IdentityPropertiesView.)
Public method GetProperty(IdentityPropertyScope, String) Property accessor. Will throw if not found. (Inherited from IdentityPropertiesView.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetViewProperties() Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names. (Inherited from IdentityPropertiesView.)
Public method GetViewProperties(IdentityPropertyScope) Property bag. This could be useful, for example if consumer has to iterate through current properties and modify / remove some based on pattern matching property names. (Inherited from IdentityPropertiesView.)
Public method GetViewProperty(String) Gets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method GetViewProperty(IdentityPropertyScope, String) Gets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Protected method GetViewPropertyFilters (Overrides IdentityPropertiesView.GetViewPropertyFilters().)
Protected method Initialize(TeamFoundationRequestContext, IdentityPropertiesView, String) (Inherited from IdentityPropertiesView.)
Protected method Initialize(TeamFoundationRequestContext, Guid, String) (Inherited from IdentityPropertiesView.)
Protected method Initialize(TeamFoundationRequestContext, TeamFoundationIdentity, IEnumerable<String>, String, IdentityPropertyScope) (Inherited from IdentityPropertiesView.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MergePropertyFilters (Inherited from IdentityPropertiesView.)
Public method RemoveProperty(String) Remove property, if it exists. (Inherited from IdentityPropertiesView.)
Public method RemoveProperty(IdentityPropertyScope, String) Remove property, if it exists. (Inherited from IdentityPropertiesView.)
Public method RemoveViewProperty(String) Remove view property, if it exists. (Inherited from IdentityPropertiesView.)
Public method RemoveViewProperty(IdentityPropertyScope, String) Remove view property, if it exists. (Inherited from IdentityPropertiesView.)
Public method SetProperty(String, Object) Sets a property, will overwrite if already set. (Inherited from IdentityPropertiesView.)
Public method SetProperty(IdentityPropertyScope, String, Object) Sets a property, will overwrite if already set. (Inherited from IdentityPropertiesView.)
Public method SetViewProperty(String, Object) Sets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method SetViewProperty(IdentityPropertyScope, String, Object) Sets a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method TryGetProperty(String, Object%) Property accessor. Will return null if not found. (Inherited from IdentityPropertiesView.)
Public method TryGetProperty(IdentityPropertyScope, String, Object%) (Inherited from IdentityPropertiesView.)
Public method TryGetViewProperty(String, Object%) Try get a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method TryGetViewProperty(IdentityPropertyScope, String, Object%) Try get a property value with the view namespace. (Inherited from IdentityPropertiesView.)
Public method Update Persist Team updates. (Inherited from IdentityPropertiesView.)

Top

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.

See Also

Reference

Microsoft.TeamFoundation.Server.Core Namespace