ManagementPackElement.CheckVersionCompatibility(ManagementPackElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.