Udostępnij za pośrednictwem


ComponentVersionMismatchException Class

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.

Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class ComponentVersionMismatchException
    Inherits ApplicationException
[SerializableAttribute] 
public class ComponentVersionMismatchException : ApplicationException
[SerializableAttribute] 
public ref class ComponentVersionMismatchException : public ApplicationException
/** @attribute SerializableAttribute() */ 
public class ComponentVersionMismatchException extends ApplicationException
SerializableAttribute 
public class ComponentVersionMismatchException extends ApplicationException

Remarks

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.

Inheritance Hierarchy

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

ComponentVersionMismatchException Members
Microsoft.SqlServer.Dts.Pipeline Namespace