EnterpriseManagementObjectProjection Class

Definition

Represents a projection of an object instance and its hierarchy.

public ref class EnterpriseManagementObjectProjection : Microsoft::EnterpriseManagement::Common::IComposableProjection, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<Microsoft::EnterpriseManagement::Configuration::ManagementPackRelationshipEndpoint ^, Microsoft::EnterpriseManagement::Common::IComposableProjection ^>>, System::Xml::XPath::IXPathNavigable
public class EnterpriseManagementObjectProjection : Microsoft.EnterpriseManagement.Common.IComposableProjection, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<Microsoft.EnterpriseManagement.Configuration.ManagementPackRelationshipEndpoint,Microsoft.EnterpriseManagement.Common.IComposableProjection>>, System.Xml.XPath.IXPathNavigable
type EnterpriseManagementObjectProjection = class
    interface IComposableProjection
    interface seq<KeyValuePair<ManagementPackRelationshipEndpoint, IComposableProjection>>
    interface IEnumerable
    interface IXPathNavigable
Public Class EnterpriseManagementObjectProjection
Implements IComposableProjection, IEnumerable(Of KeyValuePair(Of ManagementPackRelationshipEndpoint, IComposableProjection)), IXPathNavigable
Inheritance
EnterpriseManagementObjectProjection
Implements

Constructors

EnterpriseManagementObjectProjection(EnterpriseManagementGroup, ManagementPackClass)

Creates a new instance of the EnterpriseManagementObjectProjection class.

EnterpriseManagementObjectProjection(EnterpriseManagementGroup, ManagementPackObjectTemplate)

Creates a new instance of the EnterpriseManagementObjectProjection class.

EnterpriseManagementObjectProjection(EnterpriseManagementGroup, ManagementPackObjectTemplate, ObjectTemplateCallback)

Creates a new instance of the EnterpriseManagementObjectProjection class.

EnterpriseManagementObjectProjection(EnterpriseManagementObject)

Creates a new instance of the EnterpriseManagementObjectProjection class with a seed object to populate the projection.

Properties

HasChanges

Specifies whether any changes are made to the projection or not.

Item[Guid]

Gets the access rights for the identified relationship.

Item[ManagementPackRelationshipEndpoint, Guid]

Gets a list of all child IComposableProjection objects that match the specified role, constrained by identified object.

Item[ManagementPackRelationshipEndpoint, ManagementPackClass]

Gets a list of all child IComposableProjection objects that match the specified role, constrained by the provided management pack class.

Item[ManagementPackRelationshipEndpoint]

Gets a list of all child IComposableProjection objects that match the specified role.

Item[String, Guid]

Gets a list of all child IComposableProjection objects that match the specified role, constrained by identified object.

Item[String, ManagementPackClass]

Gets a list of all child IComposableProjection objects that match the specified role, constrained by the provided management pack class.

Item[String]

Gets a list of all child IComposableProjection objects that match the specified role.

Item[TraversalDepth]

Gets a list of all child IComposableProjection objects, optionally including all grandchild objects.

Object

Gets the current root object in the projection.

ObjectRole

Gets the current role of the projection, relative to its parent.

ParentObject

Gets the parent object of the current object in the projection.

RelationshipAccessRights

Gets the access rights of the relationship with the current projection and its parent.

Methods

Add(EnterpriseManagementObject, ManagementPackRelationshipEndpoint)

Adds an object to the projection using the specified role.

Add(EnterpriseManagementObject, ManagementPackRelationshipEndpoint, ObjectProjectionOptions)

Adds an object to the projection using the specified role, and specifies whether or not this object is an endpoint.

Add(IComposableProjection, ManagementPackRelationshipEndpoint)

Adds an object to the projection using the specified role.

Add(IComposableProjection, ManagementPackRelationshipEndpoint, ObjectProjectionOptions)

Adds an object to the projection using the specified role, and specifies whether or not this object is an endpoint.

ApplyTemplate(ManagementPackObjectTemplate)

Applies a template to the projection.

ApplyTemplate(ManagementPackObjectTemplate, ObjectTemplateCallback)

Applies a template to the projection, and executes the callback.

Commit()

Commits the projection.

Commit(EnterpriseManagementConnector)

Commits the projection, and uses the specified connector as a discovery source.

CreateNavigator()

Creates a new instance of the XPathNavigator class used to navigate the backing projection XML.

Equals(Object)

Determines whether two Object instances are equal.

GetCopy()

Creates a deep copy of this projection.

GetEnumerator()

Gets an enumerator that iterates through the collection of roles to the collection of IComposableProjection.

GetHashCode()

Serves as a hash function for a particular type.

GetRelationshipAccessRights(ManagementPackRelationshipEndpoint)

Gets the access rights of the specified endpoint in relation to this projection.

Overwrite()

Commits the projection.

Overwrite(EnterpriseManagementConnector)

Commits the projection, and uses the specified connector as a discovery source.

PopulateAccessRights(EnterpriseManagementGroup)

Populates the projection with the access rights for all objects of the projection.

Remove()

Deletes this projection along with all child relationships.

Remove(ShouldDeleteReferencedObjectCallback)

Deletes or removes this projection along with all child relationships, and executes the callback for validation.

Replace(IComposableProjection)

Replaces the current projection with a new one.

Replace(IComposableProjection, ObjectProjectionOptions)

Replaces the current projection with a new one.

Explicit Interface Implementations

IComposableProjection.GetCopy()
IEnumerable.GetEnumerator()

Applies to