Delen via


CatalogResourceTypeConstraints Class

The class for specifying the constraints that should be placed on a resource type.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Server.Core.CatalogResourceTypeConstraints

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

Syntax

'Declaration
Public Class CatalogResourceTypeConstraints
public class CatalogResourceTypeConstraints
public ref class CatalogResourceTypeConstraints
type CatalogResourceTypeConstraints =  class end
public class CatalogResourceTypeConstraints

The CatalogResourceTypeConstraints type exposes the following members.

Constructors

  Name Description
Public method CatalogResourceTypeConstraints

Top

Properties

  Name Description
Public property DeleteConstraints The constraints that define how this node can be deleted.
Public property DependencyConstraints The constraints that define the mandatory dependencies.
Public property ExistencePerParentTypeConstraints The constraints that define for which types this resource type can only exist once under.
Public property ExistencePerRootConstraints The constraints that define what trees can only have one node in.
Public property ParentChildConstraints The constraints that define the allowed parent/child relationships.
Public property PropertyConstraints The constraints that define the mandatory properties and exclusivity of those property values.
Public property ResourceType The resource type these constraints are for.
Public property ServiceReferenceConstraints The constraints that define the mandatory service references
Public property SingleNodeReferenceConstraint True if the resource can only be referenced by one node.

Top

Methods

  Name Description
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 GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

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