Microsoft.SqlServer.Dts.Runtime 命名空间

The Microsoft.SqlServer.Dts.Runtime namespace contains the classes and interfaces to create packages, custom tasks, and other package control flow elements.

  说明
公共类 Application Discovers and accesses Package objects. It can also access collections and properties that contain information about the system.
公共类 BatchUpgradeOptions Specifies the options that the Upgrade method will apply to a list of Integration Services packages during the upgrade process.
公共类 BreakpointManager Manages all the breakpoints that are set in on a task. This class cannot be inherited.
公共类 BreakpointTarget Contains information on breakpoints that are set in the package. This class cannot be inherited.
公共类 BreakpointTargetEnumerator Creates a BreakpointTargetEnumerator for the BreakpointTargets collection. This class cannot be inherited.
公共类 BreakpointTargets Contains a collection of BreakpointTarget objects. This class cannot be inherited.
公共类 Configuration Represents a configuration class that contains information about how a package is configured. This class cannot be inherited.
公共类 ConfigurationEnumerator Supports iteration over the Configurations collection. This class cannot be inherited.
公共类 Configurations Represents a collection of Configuration objects. This class cannot be inherited.
公共类 ConnectionEnumerator Supports iteration over the Connections collection. This class cannot be inherited.
公共类 ConnectionInfo Contains information about the connections available on the computer. This class cannot be inherited.
公共类 ConnectionInfoEnumerator Supports iteration over the Connections collection. This class cannot be inherited.
公共类 ConnectionInfos Contains information about all the connections on the computer. The collection contains ConnectionInfo objects that provide the details about each connection. The collection is available using the Application class. This class cannot be inherited.
公共类 ConnectionManager Provides the information that you must have to connect to a data source. All classes that inherit from the ConnectionManager contain the same properties and methods. The ConnectionManager class isolates the implementation details of the different connection types from the runtime. This enables the runtime to interact with each connection manager in a consistent and predictable manner. Connection managers contain a set of stock properties that all connections have in common, such as the Name, ID, Description, and ConnectionString. However, each connection type has additional properties that are specific to that connection type. These can be accessed through the Properties collection.This class cannot be inherited.
公共类 ConnectionManagerBase Represents the abstract base class for connection managers.
公共类 Connections Contains a collection of ConnectionManager objects that are accessed through the Package object. This class cannot be inherited.
公共类 DataTypeInfo Contains members that return information regarding the data type of any SQL Server Integration Services (SSIS) object for an Application. This class cannot be inherited.
公共类 DataTypeInfoEnumerator Supports iteration over the DataTypeInfos collection. This class cannot be inherited.
公共类 DataTypeInfos Contains a collection of DataTypeInfo objects. This class cannot be inherited.
公共类 DBProviderInfo Contains information about a database provider. This class cannot be inherited.
公共类 DBProviderInfoEnumerator Supports iteration over the DBProviderInfos collection. This class cannot be inherited.
公共类 DBProviderInfos Contains a collection of DBProviderInfo objects. This class cannot be inherited.
公共类 DefaultEvents Defines the default events that are provided by the Integration Services run-time.
公共类 DtsComException The exception that Integration Services raises when a COM error occurs.
公共类 DtsComponentException The exception that is thrown when an error occurs in a component.
公共类 DtsConnectionAttribute Supplies design time information about a ConnectionManager object.
公共类 DtsConnectionException The exception that is thrown when there is an error in a connection.
公共类 DtsContainer Defines an abstract base class that implements the properties and methods used by all containers and packages.
公共类 DtsConvert Provides conversion methods to convert managed Integation Services run-time objects to their native implementations and from native to managed implementations. This class cannot be inherited.
公共类 DtsCouldNotCreateManagedConnectionException The exception that specifies that a managed connection could not be created. This class cannot be inherited.
公共类 DtsCouldNotCreateManagedForEachEnumeratorException The exception that specifies that a managed ForEach enumerator could not be created. This class cannot be inherited.
公共类 DtsEnumerator Defines an abstract base class that implements the IEnumerator methods.
公共类 DtsError Contains information about an error that occurred during execution. This class cannot be inherited.
公共类 DtsErrors Represents a collection of DtsError objects. This class cannot be inherited.
公共类 DtsEventHandler A container on a package or other containers that holds executables to run when specific events occur. This class cannot be inherited.
公共类 DtsEventHandlerEnumerator Supports iteration over the DtsEventHandlers collection. This class cannot be inherited.
公共类 DtsEventHandlers A collection of DtsEventHandler objects. This class cannot be inherited.
公共类 DtsException Defines a generic exception class that, depending on the error code returned, creates a class specific to the type of exception that occurred.
公共类 DtsExponentTooLargeException An exception class that is thrown when the X.509 certification key on a package is invalid.
公共类 DtsForEachEnumeratorAttribute Supplies design-time information about a ForEachEnumerator object. This class cannot be inherited.
公共类 DtsGenericException The exception that is thrown when an error occurs and the error is not handled by any other exception class.
公共类 DtsInvalidBreakpointSiteException The exception that is thrown to specify that there is an invalid breakpoint. This class cannot be inherited.
公共类 DtsLogProviderAttribute Supplies design time information about a LogProvider object.
公共类 DtsNoConnectionAssignedException The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.
公共类 DtsNoForEachEnumAssignedException The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the type ForEachEnumerator.
公共类 DtsNoLogProviderAssignedException The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the type LogProvider.
公共类 DtsNoObjectAssignedException The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.
公共类 DtsNotAConnectionException The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.
公共类 DtsNotAForEachEnumException The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the type ForEachEnumerator.
公共类 DtsNotALogProviderException The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the type LogProvider.
公共类 DtsNotAManagedEnumeratorException The exception that is thrown to specify that the enumerator is not a managed enumerator. This class cannot be inherited.
公共类 DtsNoTaskAssignedException The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.
公共类 DtsNotATaskException The exception that is thrown to specify that an internal error occurred when a managed wrapper is used for a native object that is not of the correct type.
公共类 DtsObject Defines an abstract base class that contains the members that are common to all the objects in the Microsoft.SqlServer.Dts.Runtime namespace.
公共类 DtsPipelineException The exception that is thrown when an error occurs in the pipeline.
公共类 DtsProperties Contains a collection of DtsProperty objects. This class cannot be inherited.
公共类 DtsProperty Contains properties and methods used by several containers on their properties. This class cannot be inherited.
公共类 DtsPropertyAttribute 基础结构。
公共类 DTSReadOnlyCollectionBase Defines an abstract base class that implements the common members used by all Integration Services read-only collections. It provides the abstract (MustInherit in Visual Basic) base class for a strongly typed collection.
公共类 DtsRuntimeException The exception that is thrown when there is an error in the control flow.
公共类 DtsScriptingException The exception that is thrown when there is an error in a script task.
公共类 DtsSqlException The exception that is thrown when there is an error in a SQL Task.
公共类 DtsTaskAttribute Supplies design time information about a Task object.
公共类 DtsTaskException The exception that is thrown when an error occurs in a task.
公共类 DtsToolsException The exception that is thrown when an error occurs in one of the tools.
公共类 DtsWarning Contains the properties used when a warning occurs. This class cannot be inherited.
公共类 DtsWarnings Contains a collection of DtsWarning objects. This class cannot be inherited.
公共类 EmptyEnumerator Provides an empty enumerator that is returned by the Integration Services runtime when there are no elements in the collection to enumerate over.
公共类 EnumReferencedObjects 基础结构。
公共类 ErrorEnumerator Supports iteration over the DtsErrors collection. This class cannot be inherited.
公共类 EventInfo Contains information about an event. This class cannot be inherited.
公共类 EventInfoEnumerator Supports iteration over the EventInfos collection. This class cannot be inherited.
公共类 EventInfos Contains a collection of EventInfo objects. The run-time engine exposes an EventInfos collection on all containers in the package hierarchy. The collection that a task receives is a reference to EventInfos collection on the TaskHost that is wrapping the task. Other containers' EventInfos collections contain aggregated contents of their children’s EventInfos collections. This class cannot be inherited.
公共类 EventsProvider Defines an abstract class that contains a collection of event handler containers and the EventInfos collection. This class routes events to those event handlers when an event is received.
公共类 Executable Defines an abstract class that provides the methods that all objects that are run by the run-time engine are required to inherit and implement.
公共类 ExecutableEnumerator Supports iteration over the Executables collection. This class cannot be inherited.
公共类 Executables Contains a collection of Executable objects. This class cannot be inherited.
公共类 ExtendedProperties Contains a collection of ExtendedProperty objects. This class cannot be inherited.
公共类 ExtendedProperty This class contains members that hold additional information about a package.
公共类 ExtendedPropertyEnumerator Supports iteration over the ExtendedProperties collection. This class cannot be inherited.
公共类 FlatFileColumn Contains information that defines the properties of columns in a flat file source or destination data adapter. The flat file adapter is used for accessing data in flat files. This class cannot be inherited.
公共类 ForEachEnumerator Enumerates over the items that the ForEachLoop is assigned to iterate over.
公共类 ForEachEnumeratorHost Defines the host class for the ForEachEnumerator. This class cannot be inherited.
公共类 ForEachEnumeratorInfo Contains information about the ForEachEnumerator. This class cannot be inherited.
公共类 ForEachEnumeratorInfos A collection of ForEachEnumeratorInfo objects. This class cannot be inherited.
公共类 ForEachEnumeratorInfosEnumerator Supports iteration over the ForEachEnumeratorInfos collection. This class cannot be inherited.
公共类 ForEachEnumeratorUI Provides information for controlling the graphical user interface of the ForEachEnumerator.
公共类 ForEachLoop Provides a container that defines an iterative workflow in a package using the foreach iteration statement.
公共类 ForEachVariableMapping Maps each variable to the value or expression that it holds. This class cannot be inherited.
公共类 ForEachVariableMappingEnumerator Supports iteration over the ForEachVariableMappings collection. This class cannot be inherited.
公共类 ForEachVariableMappings Contains a collection of ForEachVariableMapping objects. This class cannot be inherited.
公共类 ForLoop Provides a container that defines an iterative workflow in a package, using the for iteration statement.
公共类 FtpClientConnection Downloads and uploads data files and manages directories on servers. This class cannot be inherited.
公共类 HResults Contains all event messages and HRESULTs for the Integration Services runtime, pipeline, stock tasks, and stock transforms.
公共类 HttpClientConnection Contains properties and methods that enable a package to access a Web server using the HTTP protocol to send or receive files. This class cannot be inherited.
公共类 LogEntryInfo Contains properties that describe a log entry. This class cannot be inherited.
公共类 LogEntryInfoEnumerator Supports iteration over the LogEntryInfos collection. This class cannot be inherited.
公共类 LogEntryInfos Contains a collection of LogEntryInfo objects. This class cannot be inherited.
公共类 LoggingOptions Contains members that regulate what information is included or excluded from logging. This class cannot be inherited.
公共类 LogProvider Contains information about a log provider associated with a package. All log providers associated with a package are located in the LogProviders collection. For log providers on the computer, use the Application class and view the LogProviderInfos collection. This class cannot be inherited.
公共类 LogProviderBase Defines the abstract base class for managed log providers.
公共类 LogProviderEnumerator Supports iteration over the LogProviders collection. This class cannot be inherited.
公共类 LogProviderInfo Provides information about the log providers found on the computer. This class cannot be inherited.
公共类 LogProviderInfoEnumerator Supports a simple iteration over the LogProviderInfos collection. This class cannot be inherited.
公共类 LogProviderInfos Contains a collection of LogProviderInfo objects. This class cannot be inherited.
公共类 LogProviders Contains a collection of LogProvider objects associated with the package. This class cannot be inherited.
公共类 ManagedForEachEnumeratorWrapper 基础结构。
公共类 ManagedHelper 基础结构。
公共类 ManagedHelper. . :: . .ManagedPropertyHelper 基础结构。
公共类 ManagedWrapper 基础结构。
公共类 ManagerSerializer 基础结构。
公共类 ObjectReferenceTracker Provides analysis regarding the impact and consequences of deleting variables and connections from a package. This class cannot be inherited.
公共类 Package Represents the package container. This class cannot be inherited.
公共类 PackageInfo Contains properties that return all the information relating to a package, such as the date it was created, version numbers, and package size. This class cannot be inherited.
公共类 PackageInfoEnumerator Supports iteration over the PackageInfos collection. This class cannot be inherited.
公共类 PackageInfos Contains a collection of packages found in Microsoft SQL Server or the Integration Services service. This class cannot be inherited.
公共类 PackageUpgradeOptions Specifies the options to be applied when an Integration Services package is upgraded.
公共类 PackageUpgradeResult This class specifies the upgrade results for a package.
公共类 PipelineComponentInfo Contains properties that describe a pipeline component that is currently installed on the local computer and are ready to be used in a pipeline.
公共类 PipelineComponentInfoEnumerator Supports iteration over the PipelineComponentInfos collection. This class cannot be inherited.
公共类 PipelineComponentInfos Contains a collection of PipelineComponentInfo objects. This class cannot be inherited.
公共类 PrecedenceConstraint Specifies the properties for configuring a precedence constraint between two containers. This class cannot be inherited.
公共类 PrecedenceConstraintEnumerator Supports a simple iteration over the PrecedenceConstraints collection. This class cannot be inherited.
公共类 PrecedenceConstraints Contains a collection of PrecedenceConstraints objects. This class cannot be inherited.
公共类 PropertyEnumerator Supports iteration over the DtsProperties collection. This class cannot be inherited.
公共类 RunningPackage Provides a reference to the run-time package to use from the Integration Services service. This class cannot be inherited.
公共类 RunningPackages Contains a collection of RunningPackage objects. This collection contains the list of packages that were running when the GetRunningPackages method was called, and is not updated when a new package starts or a listed package terminates. If you need a new snapshot, you should call GetRunningPackages again. This class cannot be inherited.
公共类 RunningPackagesEnumerator Supports iteration over the RunningPackages collection. This class cannot be inherited.
公共类 SelectedLogProviders Contains a collection of LogProvider objects. This class cannot be inherited.
公共类 Sequence Defines a control flow that is a subset of the package control flow. Use Sequence containers to group the package into multiple separate control flows that each contain one or more tasks and containers that run within the overall package control flow. This class cannot be inherited.
公共类 StorageInfo Provides information about the storage location for either the original or the upgraded Integration Services packages.
公共类 Task Defines an abstract class that implements the methods and properties common to all tasks in Integration Services. 
公共类 TaskHost Provides a container that encapsulates a single task. In the SSIS Designer, the TaskHost is not configured separately; instead, it is configured when you set the properties of the task it encapsulates.
公共类 TaskInfo Contains information about a task installed on the local computer.
公共类 TaskInfoEnumerator Supports iteration over the TaskInfo collection. This class cannot be inherited.
公共类 TaskInfos Contains a collection of TaskInfo objects. This class cannot be inherited.
公共类 UpgradePackageInfo Stores information about an Integration Services package that is to be upgraded.
公共类 UpgradeResult Determines the result of upgrading a collection of Integration Services packages.
公共类 Variable Represents a variable on a package, task, or container. This class cannot be inherited.
公共类 VariableDispenser Accesses the Variables collection during package execution. This class cannot be inherited.
公共类 VariableEnumerator Supports iteration over the Variables collection. This class cannot be inherited.
公共类 Variables Contains a collection of Variables objects, which are accessed through several objects. This class cannot be inherited.
公共类 WarningEnumerator Supports iteration over the DtsWarnings collection. This class cannot be inherited.

结构

  结构 说明
公共结构 DTSEventColumnFilter Contains a field for every column that you can put into a log entry. To select columns for writing into the log, set the field's value to true. Set the value to false for every field you do not want added to the log entry.
公共结构 StatusMessage Specifies the warning and error messages that result from upgrading an Integration Services package.

接口

  接口 说明
公共接口 IDTSBreakpointSite Defines the interaction between the Integration Services run-time engine and the task for exposing breakpoints and for creating and managing custom breakpoints.
公共接口 IDTSComponentEvents Defines an interface that provides event firing.
公共接口 IDTSComponentPersist Allows properties and settings for components and tasks to be saved and loaded from the package XML.
公共接口 IDTSDowngradableObject 基础结构。
公共接口 IDTSEvents Defines a set of events used by the TaskHost on behalf of a task.
公共接口 IDTSExecutionMetrics Defines the metrics used to track the execution of a container.
公共接口 IDTSForEachEnumerator Provides the methods and properties for the ForEachEnumerator.
公共接口 IDTSForEachEnumeratorUI Contains the members implemented by the ForEachEnumeratorUI user interface class.
公共接口 IDTSInfoEvents Defines an interface that is used to fire informational, warning, and error events.
公共接口 IDTSLogging Defines the logging options for a container.
公共接口 IDTSManagedTask Defines an interface implemented on task classes to identify the class as a managed task.
公共接口 IDTSName Defines properties commonly used by many objects in the Integration Services runtime. The common properties of named objects include a name, a creation name, an ID (GUID), and a description.
公共接口 IDTSObjectHost Defines an interface that allows components to be treated as generic host objects.
公共接口 IDTSPackagePath Defines an interface implemented by containers that need to have the package path returned into a property.
公共接口 IDTSPersist Defines an interface that enables saving and loading data.
公共接口 IDTSPropertiesProvider Defines an interface, inherited by containers, that enables properties to be set by an expression, and allows an enumerable collection of properties to be associated with the container.
公共接口 IDTSSequence Contains two collections used by containers.
公共接口 IDTSSuspend Provides methods and properties that are called by the run-time engine to notify tasks to suspend execution.

枚举

  枚举 说明
公共枚举 ActionOnExistType Defines the behavior that occurs when an upgrade package has the same name as an existing Integration Services package.
公共枚举 DTSBreakpointHitTest Enumerates the values for the hit count types. This class works with the BreakpointTarget class.
公共枚举 DTSCheckpointUsage Specifies values that describe if, or when, a package is restarted.
公共枚举 DTSConfigurationType Specifies the ways that a configuration for a package can be saved.
公共枚举 DTSEventFilterKind Describes the kind of event filter that is set on logging.
公共枚举 DTSExecResult Provides values that describe the result of a task execution.
公共枚举 DTSExecStatus Contains values that indicate the current status of task execution or a container object at the time of the call.
公共枚举 DTSExecutionLocation 基础结构。
公共枚举 DTSFileConnectionUsageType Provides information about how a connection is used by a component client.
公共枚举 DTSForcedExecResult Specifies the execution result of a container when the container's ForceExecutionValue is set to true.
公共枚举 DTSLogEntryFrequency Provides information to assist in log planning. You pick the hint that most closely corresponds to the frequency that you expect to generate a particular log entry in your task. This enumeration property then assists users of the package when they want to set up filtering of log entries. The user can view the property, and know in advance if there will be an overwhelming number of entries of a particular type, and plan accordingly.
公共枚举 DTSLoggingMode Specifies the logging behavior of the container. The container can turn on logging, disable logging, or specify that the setting to use is the setting found on the parent container.
公共枚举 DTSObjectHostType Describes the type of container that is hosting the other task or container.
公共枚举 DTSObjectReferenceType Specifies the types of objects that the ObjectReferenceTracker class will provide impact analysis for. This enumeration is used by the EnumReferencedObjects class, which in turn is used by the Package class in its FindReferencedObjects method.
公共枚举 DTSPackageInfoFlags Describes whether a package is a folder or package. It is used for setting a valid value in the Flags property.
公共枚举 DTSPackageType Identifies the tool that created the package.
公共枚举 DTSPipelineComponentType Classifies pipeline components by category.
公共枚举 DTSPrecedenceEvalOp Indicates the evaluation operations that the precedence constraint uses.
公共枚举 DTSPriorityClass Describes the priority of a thread in a class.
公共枚举 DTSProductLevel Specifies the SQL Server product edition. 
公共枚举 DTSPropertyKind Contains values that describe the type of property.
公共枚举 DTSProtectionLevel Controls the handling of sensitive information in the package.
公共枚举 DTSProviderSubType Identifies a specific OLE DB provider. The enumeration value also identifies the data type format used by that provider when the ProviderType is OLE DB.
公共枚举 DTSProviderType Describes the kind of provider that is stored.
公共枚举 DTSSignatureStatus Describes the status of the digital signature.
公共枚举 DTSTransactionOption Describes transaction supportability and specifies whether a container participates in transactions.
公共枚举 StorageType Defines the type of storage to which upgraded Integration Services packages will be saved.
公共枚举 UpgradeResultStatus Defines the results of upgrading an Integration Services package.