Partager via


Propriété PackageClass.UpdatePackage

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

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

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Public Overridable Property UpdatePackage As Boolean 
    Get 
    Set
'Utilisation
Dim instance As PackageClass 
Dim value As Boolean 

value = instance.UpdatePackage

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

Valeur de propriété

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

Implémente

IDTSPackage100.UpdatePackage

Notes

For more information, see Package.

Voir aussi

Référence

PackageClass Classe

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper