[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]Adds an object to the projection using the specified role. Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

Visual Basic
Dim instance As EnterpriseManagementObjectProjection
Dim objectToAdd As IComposableProjection
Dim role As ManagementPackRelationshipEndpoint
Dim returnValue As IComposableProjection

returnValue = instance.Add(objectToAdd, role)

Syntax

Visual Basic
Public Function Add ( _
		objectToAdd As IComposableProjection, _
		role As ManagementPackRelationshipEndpoint _
) As IComposableProjection
C#
public IComposableProjection Add (
		IComposableProjection objectToAdd,
		ManagementPackRelationshipEndpoint role
)
C++
public:
virtual IComposableProjection^ Add (
		IComposableProjection^ objectToAdd, 
		ManagementPackRelationshipEndpoint^ role
) sealed
J#
public final IComposableProjection Add (
		IComposableProjection objectToAdd, 
		ManagementPackRelationshipEndpoint role
)
JScript
public final function Add (
		objectToAdd : IComposableProjection, 
		role : ManagementPackRelationshipEndpoint
) : IComposableProjection

Parameters

objectToAdd

The object.

role

The role.

Return Value

The added projection

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.

Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also