ManagementPackAccessibleElement.CheckVersionCompatibility Method

Definition

Checks the version compatibility by checking the Accessibility property. If the current item is public accessible but the new element is not, then this method indicates that the version compatibility will break.

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

Returns

A list of verification results.

Applies to