IDTSPackage100.UpdatePackage 属性

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Gets or sets a value that indicates whether packages can be updated when an updated version is found.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集:  Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

语法

声明
Property UpdatePackage As Boolean 
    Get 
    Set
用法
Dim instance As IDTSPackage100 
Dim value As Boolean 

value = instance.UpdatePackage

instance.UpdatePackage = value
bool UpdatePackage { get; set; }
property bool UpdatePackage {
    bool get ();
    void set (bool value);
}
abstract UpdatePackage : bool with get, set
function get UpdatePackage () : boolean 
function set UpdatePackage (value : boolean)

属性值

类型:System.Boolean
true if packages can be updated when an updated version is found; otherwise, false.

注释

This interface is implemented by the Package and PackageNeutral interfaces.

请参阅

参考

IDTSPackage100 接口

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空间