Share via


Package.UpdateObjects Property

*** Member deprecated; see Remarks. *** Gets or sets a value that indicates whether the 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 
    Get 
    Set
'Usage
Dim instance As Package 
Dim value As Boolean 

value = instance.UpdateObjects

instance.UpdateObjects = value
public bool UpdateObjects { get; set; }
public:
property bool UpdateObjects {
    bool get ();
    void set (bool value);
}
member UpdateObjects : bool with get, set
function get UpdateObjects () : boolean 
function set UpdateObjects (value : boolean)

Property Value

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

Remarks

Note

This member will be removed in a future version of Microsoft SQL Server. Avoid using this member in new development work, and plan to modify applications that currently use this member.

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.

See Also

Reference

Package Class

Microsoft.SqlServer.Dts.Runtime Namespace