Share via


ManagementPackMeasureType.CheckVersionCompatibility Method

Definition

Checks the version back compatibility by checking the Accessibility property.

If the current item is public accessible and the new element is not public accessible, then version compatibility breaks.

public:
 override System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Configuration::Verification::ManagementPackVerificationResult ^> ^ CheckVersionCompatibility(Microsoft::EnterpriseManagement::Configuration::ManagementPackElement ^ newElement);
public override System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.Verification.ManagementPackVerificationResult> CheckVersionCompatibility (Microsoft.EnterpriseManagement.Configuration.ManagementPackElement newElement);
override this.CheckVersionCompatibility : Microsoft.EnterpriseManagement.Configuration.ManagementPackElement -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Configuration.Verification.ManagementPackVerificationResult>
Public Overrides Function CheckVersionCompatibility (newElement As ManagementPackElement) As IList(Of ManagementPackVerificationResult)

Parameters

newElement
ManagementPackElement

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.

Returns

A list of verification results.

Applies to