ManagementPackElement.CheckVersionCompatibility Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Checks version compatibility of the old version of element against the new version of the same element.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)
Usage
'Usage
Dim instance As ManagementPackElement
Dim newElement As ManagementPackElement
Dim returnValue As IList(Of ManagementPackVerificationResult)
returnValue = instance.CheckVersionCompatibility(newElement)
Syntax
'Declaration
Public Overridable Function CheckVersionCompatibility ( _
newElement As ManagementPackElement _
) As IList(Of ManagementPackVerificationResult)
public virtual IList<ManagementPackVerificationResult> CheckVersionCompatibility (
ManagementPackElement newElement
)
public:
virtual IList<ManagementPackVerificationResult^>^ CheckVersionCompatibility (
ManagementPackElement^ newElement
)
public IList<ManagementPackVerificationResult> CheckVersionCompatibility (
ManagementPackElement newElement
)
public function CheckVersionCompatibility (
newElement : ManagementPackElement
) : IList<ManagementPackVerificationResult>
Parameters
newElement
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.
Return Value
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Vista, Windows Server 2003, and
Target Platforms
Windows Server 2008,Windows Server 2003
See Also
Reference
ManagementPackElement Class
ManagementPackElement Members
Microsoft.EnterpriseManagement.Configuration Namespace