Partager via


IComposableProjection.Add Method (EnterpriseManagementObject, ManagementPackRelationshipEndpoint, ObjectProjectionOptions)

[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, and specifies whether or not this object is an endpoint.

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 option As ObjectProjectionOptions
Dim returnValue As IComposableProjection

returnValue = instance.Add(objectToAdd, role, option)

Syntax

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

Parameters

  • objectToAdd
    The object.
  • role
    The role.
  • option
    Specifies whether or not the object is an endpoint in the database.

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

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

IComposableProjection Interface
IComposableProjection Members
Microsoft.EnterpriseManagement.Common Namespace