EnterpriseManagementObjectProjection.Add Method (IComposableProjection, 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 EnterpriseManagementObjectProjection
Dim objectToAdd As IComposableProjection
Dim role As ManagementPackRelationshipEndpoint
Dim option As ObjectProjectionOptions
Dim returnValue As IComposableProjection
returnValue = instance.Add(objectToAdd, role, option)
Syntax
'Declaration
Public Function Add ( _
objectToAdd As IComposableProjection, _
role As ManagementPackRelationshipEndpoint, _
option As ObjectProjectionOptions _
) As IComposableProjection
public IComposableProjection Add (
IComposableProjection objectToAdd,
ManagementPackRelationshipEndpoint role,
ObjectProjectionOptions option
)
public:
virtual IComposableProjection^ Add (
IComposableProjection^ objectToAdd,
ManagementPackRelationshipEndpoint^ role,
ObjectProjectionOptions option
) sealed
public final IComposableProjection Add (
IComposableProjection objectToAdd,
ManagementPackRelationshipEndpoint role,
ObjectProjectionOptions option
)
public final function Add (
objectToAdd : IComposableProjection,
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
EnterpriseManagementObjectProjection Class
EnterpriseManagementObjectProjection Members
Microsoft.EnterpriseManagement.Common Namespace