Application 类

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

继承层次结构

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

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

语法

声明
Public Class Application _
    Inherits DtsObject
用法
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

Application 类型公开以下成员。

构造函数

  名称 说明
公共方法 Application Initializes a new instance of the Application class.

页首

属性

  名称 说明
公共属性 CheckSignatureOnLoad Gets or sets a value that indicates whether the runtime should check the digital signature of the package when loading the package.
公共属性 ComponentStorePath Returns the path where pipeline components are stored. This property is read-only.
公共属性 ConnectionInfos Returns a ConnectionInfos collection that contains ConnectionInfo objects. This property is read-only.
公共属性 DataTypeInfos Returns a DataTypeInfos collection that contains DataTypeInfo objects. This property is read-only.
公共属性 DBProviderInfos Returns a DBProviderInfos collection that contains DBProviderInfo objects in the application. This property is read-only.
公共属性 DumpDescriptor Gets or sets the dump descriptor for the application.
公共属性 DumpOnAnyError Gets or sets whether the application dumps on any error.
公共属性 EnableDump Gets or sets whether the application enables dumping.
公共属性 ForEachEnumeratorInfos Returns a ForEachEnumeratorInfos collection that contains ForEachEnumeratorInfo objects. This property is read-only.
公共属性 LogProviderInfos Returns a LogProviderInfos collection that contains LogProviderInfo objects. This property is read-only.
公共属性 PackagePassword Sets the value of the password for the package. This property is write-only.
公共属性 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.
公共属性 PipelineComponentInfos Returns a PipelineComponentInfos collection that contains PipelineComponentInfo objects.
公共属性 TaskInfos Returns a TaskInfos collection that contains TaskInfo objects. This property is read-only.
公共属性 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.
公共属性 UpdatePackage Gets or sets a Boolean that indicates whether packages can be updated when an updated version is found.

页首

方法

  名称 说明
公共方法 CreateFolderOnDtsServer Creates a folder on the server that appears in the Stored Packages node of the Integration Services service hierarchy. 
公共方法 CreateFolderOnSqlServer Creates a folder on the specified instance of SQL Server.
公共方法 CreateSsisServerExecution Creates SSIS server execution.
公共方法 DataTypeInfoFromDataType Returns the DataTypeInfo object for the specified data type.
公共方法 Equals Determines whether two object instances are equal. (从 DtsObject 继承。)
公共方法 ExistsOnDtsServer Returns a Boolean that indicates whether the specified package already exists on the Integration Services service.
公共方法 ExistsOnSqlServer Returns a Boolean that indicates whether the specified package exists on the instance of SQL Server.
受保护方法 Finalize (从 Object 继承。)
公共方法 FolderExistsOnDtsServer Returns a Boolean that indicates whether the specified folder already exists on the file system.
公共方法 FolderExistsOnSqlServer Returns a Boolean that indicates whether the specified folder already exists on the instance of SQL Server.
公共方法 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.
公共方法 GetDtsServerRoles Returns an array of Strings that lists the roles available for a folder.
公共方法 GetHashCode Returns the hash code for this instance. (从 DtsObject 继承。)
公共方法 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.
公共方法 GetPackageInfos2 基础结构。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.
公共方法 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.
公共方法 GetRunningPackages Returns a RunningPackages collection that contains RunningPackage objects. This property is read-only.
公共方法 GetServerInfo Returns the SQL Server version number of the SQL Server product installed on the target server. 
公共方法 GetServerVersionEx Returns the edition, product level, and other values that indicate the version of SSIS installed.
公共方法 GetType (从 Object 继承。)
公共方法 LoadFromDtsServer Loads a package from the specified server.
公共方法 LoadFromSqlServer Loads a package from SQL Server by specifying the server name, user name, and password.
公共方法 LoadFromSqlServer2 基础结构。Loads a package from SQL Server by specifying the server name, user name, and password.
公共方法 LoadPackage(String, IDTSEvents) Loads a Package from the file system.
公共方法 LoadPackage(String, IDTSEvents, Boolean) Loads a Package from the file system, and specifies the threading model.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 RemoveFolderFromDtsServer Removes the specified folder from the specified server.
公共方法 RemoveFolderFromSqlServer Removes the specified folder from the specified instance of SQL Server.
公共方法 RemoveFromDtsServer Removes a package from the specified server.
公共方法 RemoveFromSqlServer Removes a package from the specified instance of SQL Server.
公共方法 RenameFolderOnDtsServer Renames a folder on the specified instance of SQL Server.
公共方法 RenameFolderOnSqlServer Renames a folder on the specified instance of SQL Server.
公共方法 SaveToDtsServer Saves a package to the file system.
公共方法 SaveToSqlServer Saves a package to an instance of SQL Server.
公共方法 SaveToSqlServerAs Saves a package to an instance of SQL Server with a new name.
公共方法 SaveToXml Saves the XML definition of a package to a file.
公共方法 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.
公共方法 ToString (从 Object 继承。)
公共方法 Upgrade Upgrades one or more Integration Services packages from a specified source location to a specified destination location.

页首

注释

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

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Runtime 命名空间