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.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
Public Property UpdateObjects As Boolean
Get
Set
'用途
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)
屬性值
型別:System. . :: . .Boolean
true if extensible objects can be updated at package load time when an updated version is found; otherwise, false.
備註
[!附註]
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.