Partilhar via


Package.UpdateObjects Property

Gets or sets a Boolean that indicates whether extensible objects can be updated at package load time if an updated version is found.

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

Syntax

'Declaration
Public Property UpdateObjects As Boolean
public bool UpdateObjects { get; set; }
public:
property bool UpdateObjects {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_UpdateObjects ()

/** @property */
public void set_UpdateObjects (boolean value)
public function get UpdateObjects () : boolean

public function set UpdateObjects (value : boolean)

Property Value

true if extensible objects can be updated at package load time when an updated version is found; otherwise, false.

Remarks

When new versions of extensible objects such as the tasks, Foreach enumerators, log providers, and connection managers become available, existing packages can be updated at load time to reference the new objects. You can do this by setting the UpdateObjects to true before loading the package.

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

Package Class
Package Members
Microsoft.SqlServer.Dts.Runtime Namespace