Share via


ManagementPackUnitMonitor.CheckVersionCompatibility Method

Definition

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

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 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.

Whether the absence of newElement breaks version compatibility, it depends on implementation of individual element type.

Returns

A list of verification results.

Applies to