Partager via


Classe Application

Discovers and accesses Package objects. It can also access collections and properties that contain information about the system.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.Application

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

Syntaxe

'Déclaration
Public Class Application _
    Inherits DtsObject
'Utilisation
Dim instance As Application
public class Application : DtsObject
public ref class Application : public DtsObject
type Application =  
    class 
        inherit DtsObject 
    end
public class Application extends DtsObject

Le type Application expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique Application Initializes a new instance of the Application class.

Haut de la page

Propriétés

  Nom Description
Propriété publique CheckSignatureOnLoad Gets or sets a value that indicates whether the runtime should check the digital signature of the package when loading the package.
Propriété publique ComponentStorePath Returns the path where pipeline components are stored. This property is read-only.
Propriété publique ConnectionInfos Returns a ConnectionInfos collection that contains ConnectionInfo objects. This property is read-only.
Propriété publique DataTypeInfos Returns a DataTypeInfos collection that contains DataTypeInfo objects. This property is read-only.
Propriété publique DBProviderInfos Returns a DBProviderInfos collection that contains DBProviderInfo objects in the application. This property is read-only.
Propriété publique DumpDescriptor Gets or sets the dump descriptor for the application.
Propriété publique DumpOnAnyError Gets or sets whether the application dumps on any error.
Propriété publique EnableDump Gets or sets whether the application enables dumping.
Propriété publique ForEachEnumeratorInfos Returns a ForEachEnumeratorInfos collection that contains ForEachEnumeratorInfo objects. This property is read-only.
Propriété publique LogProviderInfos Returns a LogProviderInfos collection that contains LogProviderInfo objects. This property is read-only.
Propriété publique PackagePassword Sets the value of the password for the package. This property is write-only.
Propriété publique PackageUpgradeOptions Gets or sets a value that indicates which upgrade options will be applied to a collection of Integration Services packages during the upgrade process.
Propriété publique PipelineComponentInfos Returns a PipelineComponentInfos collection that contains PipelineComponentInfo objects.
Propriété publique TaskInfos Returns a TaskInfos collection that contains TaskInfo objects. This property is read-only.
Propriété publique 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.
Propriété publique UpdatePackage Gets or sets a Boolean that indicates whether packages can be updated when an updated version is found.

Haut de la page

Méthodes

  Nom Description
Méthode publique CreateFolderOnDtsServer Creates a folder on the server that appears in the Stored Packages node of the Integration Services service hierarchy. 
Méthode publique CreateFolderOnSqlServer Creates a folder on the specified instance of SQL Server.
Méthode publique CreateSsisServerExecution Creates SSIS server execution.
Méthode publique DataTypeInfoFromDataType Returns the DataTypeInfo object for the specified data type.
Méthode publique Equals Determines whether two object instances are equal. (hérité de DtsObject.)
Méthode publique ExistsOnDtsServer Returns a Boolean that indicates whether the specified package already exists on the Integration Services service.
Méthode publique ExistsOnSqlServer Returns a Boolean that indicates whether the specified package exists on the instance of SQL Server.
Méthode protégée Finalize (hérité de Object.)
Méthode publique FolderExistsOnDtsServer Returns a Boolean that indicates whether the specified folder already exists on the file system.
Méthode publique FolderExistsOnSqlServer Returns a Boolean that indicates whether the specified folder already exists on the instance of SQL Server.
Méthode publique GetDtsServerPackageInfos Gets a PackageInfos collection that contains the packages stored in the SSIS Package Store on an instance of SQL Server, within the specified folder.
Méthode publique GetDtsServerRoles Returns an array of Strings that lists the roles available for a folder.
Méthode publique GetHashCode Returns the hash code for this instance. (hérité de DtsObject.)
Méthode publique GetPackageInfos Gets a PackageInfos collection that contains the packages stored in an instance of SQL Server, within the specified logical folder, by using the server name, user name, and password.
Méthode publique GetPackageInfos2 Infrastructure. Gets a PackageInfos collection that contains the packages stored in an instance of SQL Server, within the specified logical folder, by using the server name, user name, and password.
Méthode publique GetPackageRoles Returns the database roles that have read access and write access to the package. Database roles apply only to packages stored in the SQL Server msdb database.
Méthode publique GetRunningPackages Returns a RunningPackages collection that contains RunningPackage objects. This property is read-only.
Méthode publique GetServerInfo Returns the SQL Server version number of the SQL Server product installed on the target server. 
Méthode publique GetServerVersionEx Returns the edition, product level, and other values that indicate the version of SSIS installed.
Méthode publique GetType (hérité de Object.)
Méthode publique LoadFromDtsServer Loads a package from the specified server.
Méthode publique LoadFromSqlServer Loads a package from SQL Server by specifying the server name, user name, and password.
Méthode publique LoadFromSqlServer2 Infrastructure. Loads a package from SQL Server by specifying the server name, user name, and password.
Méthode publique LoadPackage(String, IDTSEvents) Loads a Package from the file system.
Méthode publique LoadPackage(String, IDTSEvents, Boolean) Loads a Package from the file system, and specifies the threading model.
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique RemoveFolderFromDtsServer Removes the specified folder from the specified server.
Méthode publique RemoveFolderFromSqlServer Removes the specified folder from the specified instance of SQL Server.
Méthode publique RemoveFromDtsServer Removes a package from the specified server.
Méthode publique RemoveFromSqlServer Removes a package from the specified instance of SQL Server.
Méthode publique RenameFolderOnDtsServer Renames a folder on the specified instance of SQL Server.
Méthode publique RenameFolderOnSqlServer Renames a folder on the specified instance of SQL Server.
Méthode publique SaveToDtsServer Saves a package to the file system.
Méthode publique SaveToSqlServer Saves a package to an instance of SQL Server.
Méthode publique SaveToSqlServerAs Saves a package to an instance of SQL Server with a new name.
Méthode publique SaveToXml Saves the XML definition of a package to a file.
Méthode publique SetPackageRoles Sets the database roles that have read access and write access to the package. Database roles apply only to package stored in the SQL Server msdb database.
Méthode publique ToString (hérité de Object.)
Méthode publique Upgrade Upgrades one or more Integration Services packages from a specified source location to a specified destination location.

Haut de la page

Notes

The Application object is a system discovery and package access mechanism.

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.Dts.Runtime