Package.UpdateObjects 属性
*** 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.
命名空间: 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 the 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 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.