Share via


ManagementPackElement.CheckVersionCompatibility(ManagementPackElement) Method

Definition

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

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

Parameters

newElement
ManagementPackElement

New item from the new version of the ManagementPack to compare with; If it is null, it means this element is absent in the new version management pack.

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

Returns

An empty list.

Remarks

A default implementation without any checking in this base class, if a certain element type has special rules for version checking, then it must override this method.

Applies to