Partager via


ManagementPackRecovery.CheckVersionCompatibility Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Checks version compatibility of the old version of element against the new version of the same element.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As ManagementPackRecovery
Dim newElement As ManagementPackElement
Dim returnValue As IList(Of ManagementPackVerificationResult)

returnValue = instance.CheckVersionCompatibility(newElement)

Syntax

'Declaration
Public Overrides Function CheckVersionCompatibility ( _
    newElement As ManagementPackElement _
) As IList(Of ManagementPackVerificationResult)
public override IList<ManagementPackVerificationResult> CheckVersionCompatibility (
    ManagementPackElement newElement
)
public:
virtual IList<ManagementPackVerificationResult^>^ CheckVersionCompatibility (
    ManagementPackElement^ newElement
) override
public IList<ManagementPackVerificationResult> CheckVersionCompatibility (
    ManagementPackElement newElement
)
public override function CheckVersionCompatibility (
    newElement : ManagementPackElement
) : IList<ManagementPackVerificationResult>

Parameters

  • newElement
    The new version of the management pack element to compare with the existing version of the management pack element. If it is null, it means that this element is absent in the new version of the management pack.

Return Value

A list of verification results.

Remarks

The management pack recovery does not break backward compatibility.

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

ManagementPackRecovery Class
ManagementPackRecovery Members
Microsoft.EnterpriseManagement.Configuration Namespace