Share via


IComposableProjection.Add Method (EnterpriseManagementObject, ManagementPackRelationshipEndpoint)

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

Adds an object to this projection with a role.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As IComposableProjection
Dim objectToAdd As EnterpriseManagementObject
Dim role As ManagementPackRelationshipEndpoint
Dim returnValue As IComposableProjection

returnValue = instance.Add(objectToAdd, role)

Syntax

'Declaration
Function Add ( _
    objectToAdd As EnterpriseManagementObject, _
    role As ManagementPackRelationshipEndpoint _
) As IComposableProjection
IComposableProjection Add (
    EnterpriseManagementObject objectToAdd,
    ManagementPackRelationshipEndpoint role
)
IComposableProjection^ Add (
    EnterpriseManagementObject^ objectToAdd, 
    ManagementPackRelationshipEndpoint^ role
)
IComposableProjection Add (
    EnterpriseManagementObject objectToAdd, 
    ManagementPackRelationshipEndpoint role
)
function Add (
    objectToAdd : EnterpriseManagementObject, 
    role : ManagementPackRelationshipEndpoint
) : IComposableProjection

Parameters

  • objectToAdd
    The object to add.
  • role
    The role.

Return Value

The added object.

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 Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

IComposableProjection Interface
IComposableProjection Members
Microsoft.EnterpriseManagement.Common Namespace