Поделиться через


Свойство BatchUpgradeOptions.ActionOnExist

Gets or sets a ActionOnExistType value that specifies how to handle upgraded packages that have the same name as existing Службы Integration Services packages.

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
Public Property ActionOnExist As ActionOnExistType 
    Get 
    Set
'Применение
Dim instance As BatchUpgradeOptions 
Dim value As ActionOnExistType 

value = instance.ActionOnExist

instance.ActionOnExist = value
public ActionOnExistType ActionOnExist { get; set; }
public:
property ActionOnExistType ActionOnExist {
    ActionOnExistType get ();
    void set (ActionOnExistType value);
}
member ActionOnExist : ActionOnExistType with get, set
function get ActionOnExist () : ActionOnExistType 
function set ActionOnExist (value : ActionOnExistType)

Значение свойства

Тип: Microsoft.SqlServer.Dts.Runtime.ActionOnExistType
A ActionOnExistType value that specifies how to handle upgraded packages that have the same name as existing packages.

Замечания

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.

См. также

Справочник

BatchUpgradeOptions Класс

Пространство имен Microsoft.SqlServer.Dts.Runtime