Condividi tramite


Proprietà UpdateObjects

*** Member deprecated; see Remarks. *** Gets or sets a Boolean that indicates whether extensible objects can be updated at package load time if an updated version is found.

Spazio dei nomi:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Sintassi

'Dichiarazione
Public Property UpdateObjects As Boolean
    Get
    Set
'Utilizzo
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)

Valore proprietà

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

Osservazioni

[!NOTA]

This member will be removed in a future version of MicrosoftSQL 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.