Udostępnij przez


BatchUpgradeOptions.ActionOnExist Property

Gets or sets a ActionOnExistType value that specifies how to handle upgraded packages that have the same name as existing Integration Services packages.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Deklaracja
Public Property ActionOnExist As ActionOnExistType
public ActionOnExistType ActionOnExist { get; set; }
public:
property ActionOnExistType ActionOnExist {
    ActionOnExistType get ();
    void set (ActionOnExistType value);
}
/** @property */
public ActionOnExistType get_ActionOnExist ()

/** @property */
public void set_ActionOnExist (ActionOnExistType value)
public function get ActionOnExist () : ActionOnExistType

public function set ActionOnExist (value : ActionOnExistType)

Property Value

A ActionOnExistType value that specifies how to handle upgraded packages that have the same name as existing packages.

Remarks

The following table lists the valid values.

Value

Description

Rename

Adds a number to the name of the upgrade package. This is the default value.

Overwrite

Replaces the existing package with the upgraded package.

Error

Generates an error, and the package is not upgraded.

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.

Target Platforms

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