Partager via


Classe ComponentVersionMismatchException

The exception that is thrown when the component version stored in the package XML is higher than the version of the component installed on the current computer.

Espace de noms :  Microsoft.SqlServer.Dts.Pipeline
Assembly :  Microsoft.SqlServer.PipelineHost (dans Microsoft.SqlServer.PipelineHost.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class ComponentVersionMismatchException _
    Inherits ApplicationException
'Utilisation
Dim instance As ComponentVersionMismatchException
[SerializableAttribute]
public class ComponentVersionMismatchException : ApplicationException
[SerializableAttribute]
public ref class ComponentVersionMismatchException : public ApplicationException
[<SerializableAttribute>]
type ComponentVersionMismatchException =  
    class
        inherit ApplicationException
    end
public class ComponentVersionMismatchException extends ApplicationException

Notes

When the version of a component stored in the package XML is less than the version of the component on the computer, the PerformUpgrade method is called providing the component the ability to upgrade.

Hiérarchie d'héritage

System. . :: . .Object
  System. . :: . .Exception
    System. . :: . .ApplicationException
      Microsoft.SqlServer.Dts.Pipeline..::..ComponentVersionMismatchException

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Il n'est pas garanti que les membres d'instance soient thread-safe.