共用方式為


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 命名空間