ShouldDeleteReferencedObjectCallback Delegate

Represents a method in the context of a Remove call within a projection that is called when a non-hosting relationship is traversed from the parent to decide whether the instance should be deleted or whether just the relationship should be deleted.

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

Usage

'Usage
Dim instance As New ShouldDeleteReferencedObjectCallback(AddressOf HandlerMethod)

Syntax

'Declaration
Public Delegate Function ShouldDeleteReferencedObjectCallback ( _
    objectProjection As IComposableProjection _
) As Boolean
public delegate bool ShouldDeleteReferencedObjectCallback (
    IComposableProjection objectProjection
)
public delegate bool ShouldDeleteReferencedObjectCallback (
    IComposableProjection^ objectProjection
)
/** @delegate */
public delegate boolean ShouldDeleteReferencedObjectCallback (
    IComposableProjection objectProjection
)

Parameters

  • objectProjection
    The object projection to evaluate.

Return Value

true if the object should be deleted; false if only the relationship to the object should be deleted.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

Microsoft.EnterpriseManagement.Common Namespace