次の方法で共有


IComposableProjection.Add Method (IComposableProjection, 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 IComposableProjection
Dim role As ManagementPackRelationshipEndpoint
Dim returnValue As IComposableProjection

returnValue = instance.Add(objectToAdd, role)

Syntax

'Declaration
Function Add ( _
    objectToAdd As IComposableProjection, _
    role As ManagementPackRelationshipEndpoint _
) As IComposableProjection
IComposableProjection Add (
    IComposableProjection objectToAdd,
    ManagementPackRelationshipEndpoint role
)
IComposableProjection^ Add (
    IComposableProjection^ objectToAdd, 
    ManagementPackRelationshipEndpoint^ role
)
IComposableProjection Add (
    IComposableProjection objectToAdd, 
    ManagementPackRelationshipEndpoint role
)
function Add (
    objectToAdd : IComposableProjection, 
    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