Share via


TypeProjections

Applies To: System Center Service Manager 2010

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Contains type projection definitions used to consolidate the class types of a specific relationship hierarchy.

Schema Hierarchy

ManagementPack
  TypeDefinitions
    EntityTypes
      TypeProjections

Syntax

<TypeProjections>
   <TypeProjection ID=”id” Comment=”string” Accessibility=”Internal/Public” Type=”classtypeid”>…</TypeProjection>
</TypeProjections>

Attributes and Elements

The following sections describe attributes, child elements, and the parent element for the TypeProjections element.

Attributes

None.

Child Elements

Element Description

TypeProjection

Optional element. Represents the root class type of a type projection relationship hierarchy.

Parent Elements

Element Description

EntityTypes

Contains class type, relationship type, enumeration type, and type projection definitions.

Remarks

Example

The following XML sample shows how to define type projections within a management pack. For more detailed information, see TypeProjection.

<TypeProjections>
  <TypeProjection ID="System.WorkItem.Activity.ManualActivityViewProjection" Accessibility="Public" Type="CoreActivity!System.WorkItem.Activity.ManualActivity">
    <Component Alias="ActivityAssignedTo" Path="$Target/Path[Relationship='WorkItem!System.WorkItemAssignedToUser']$" />
  </TypeProjection>
  <TypeProjection ID="System.WorkItem.Activity.ReviewActivityViewProjection" Accessibility="Public" Type="CoreActivity!System.WorkItem.Activity.ReviewActivity">
    <Component Alias="Reviewer" Path="$Target/Path[Relationship='CoreActivity!System.ReviewActivityHasReviewer']$">
      <Component Alias="User" Path="$Target/Path[Relationship='CoreActivity!System.ReviewerIsUser']$" />
    </Component>
  </TypeProjection>
</TypeProjections>

See Also

Reference

EntityTypes
TypeProjection
Views