Partager via


ManagementPackFactType.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 by using management pack accessibility. If the current item is public accessible and the new element is not public accessible, then the version compatibility breaks.

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

Usage

'Usage
Dim instance As ManagementPackFactType
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 item from the new version of the management pack to compare with.

    If it is null, it means this element is absent in the new version management pack. In this case, skip checking this item.

Return Value

A list of verification results.

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

ManagementPackFactType Class
ManagementPackFactType Members
Microsoft.EnterpriseManagement.Configuration Namespace