Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Contains type projection definitions used to consolidate the class types of a specific relationship hierarchy.
Warning
This element applies to Management Pack Schema 2.0 only.
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 |
---|---|
Optional element. Represents the root class type of a type projection relationship hierarchy. |
Parent Elements
Element | Description |
---|---|
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>