EnterpriseManagementObjectProjection.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 the projection using the specified role.
Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As EnterpriseManagementObjectProjection
Dim objectToAdd As EnterpriseManagementObject
Dim role As ManagementPackRelationshipEndpoint
Dim returnValue As IComposableProjection
returnValue = instance.Add(objectToAdd, role)
Syntax
'Declaration
Public Function Add ( _
objectToAdd As EnterpriseManagementObject, _
role As ManagementPackRelationshipEndpoint _
) As IComposableProjection
public IComposableProjection Add (
EnterpriseManagementObject objectToAdd,
ManagementPackRelationshipEndpoint role
)
public:
virtual IComposableProjection^ Add (
EnterpriseManagementObject^ objectToAdd,
ManagementPackRelationshipEndpoint^ role
) sealed
public final IComposableProjection Add (
EnterpriseManagementObject objectToAdd,
ManagementPackRelationshipEndpoint role
)
public final function Add (
objectToAdd : EnterpriseManagementObject,
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 Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
EnterpriseManagementObjectProjection Class
EnterpriseManagementObjectProjection Members
Microsoft.EnterpriseManagement.Common Namespace