ApplicationClass 类
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Discovers and accesses Package objects.
继承层次结构
System.Object
Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
<ClassInterfaceAttribute(ClassInterfaceType.None)> _
<GuidAttribute("5572B772-88AC-4A35-96F8-E28626AC7E8F")> _
Public Class ApplicationClass _
Implements IDTSApplication100, Application
用法
Dim instance As ApplicationClass
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[GuidAttribute("5572B772-88AC-4A35-96F8-E28626AC7E8F")]
public class ApplicationClass : IDTSApplication100,
Application
[ClassInterfaceAttribute(ClassInterfaceType::None)]
[GuidAttribute(L"5572B772-88AC-4A35-96F8-E28626AC7E8F")]
public ref class ApplicationClass : IDTSApplication100,
Application
[<ClassInterfaceAttribute(ClassInterfaceType.None)>]
[<GuidAttribute("5572B772-88AC-4A35-96F8-E28626AC7E8F")>]
type ApplicationClass =
class
interface IDTSApplication100
interface Application
end
public class ApplicationClass implements IDTSApplication100, Application
ApplicationClass 类型公开以下成员。
构造函数
名称 | 说明 | |
---|---|---|
ApplicationClass | 基础结构。Initializes a new instance of the ApplicationClass 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. | |
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. | |
ProjectPassword | 基础结构。Sets the value of the project password for the package. | |
TaskInfos | 基础结构。Returns a TaskInfos collection that contains TaskInfo objects. This property is read-only. | |
UpdateObjects | 基础结构。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. |
页首
方法
名称 | 说明 | |
---|---|---|
CloseProject | 基础结构。Closes a specified project. | |
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 | (从 Object 继承。) | |
ExistsOnDtsServer | 基础结构。Returns a Boolean that indicates whether the specified package already exists on the Integration Services service. | |
ExistsOnSQLServer | 基础结构。Indicates whether the specified package exists on the instance of SQL Server. | |
Finalize | (从 Object 继承。) | |
FolderExistsOnDtsServer | 基础结构。Indicates whether the specified folder already exists on the file system. | |
FolderExistsOnSQLServer | 基础结构。Indicates whether the specified folder already exists on the instance of SQL Server. | |
FolderFromPath | 基础结构。Returns a folder from a specified path. | |
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 | (从 Object 继承。) | |
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. | |
GetRunningPackages | 基础结构。Returns a RunningPackages collection that contains RunningPackage objects. | |
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. | |
LoadPackage | 基础结构。Loads a package from the file system, and specifies the threading model. | |
MemberwiseClone | (从 Object 继承。) | |
OpenProject | 基础结构。Opens a package from the file system | |
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. | |
SavePackage | 基础结构。Saves the package. | |
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. | |
ToString | (从 Object 继承。) |
页首
线程安全
此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。