Microsoft.SqlServer.Dts.Runtime Namespace

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

Classes

Application

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

ApplocalHelper

ApplocalHelper contains static helper functions that help cope with applocal problems.

ApplocalReferenceLoader

reference loader for app-local assembly

BatchUpgradeOptions

Specifies the options that the Upgrade(IEnumerable<UpgradePackageInfo>, StorageInfo, StorageInfo, BatchUpgradeOptions, IDTSEvents) 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.

ConnectionManagerItem

Represents objects for the connection manager.

ConnectionManagerItems

Represents the connection manager objects.

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.

DtProjectStorage
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

Represents 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.

DtsInvalidProjectPasswordOrDataException

Represents the invalid project password or data exception that this class contains during runtime.

DtsInvalidProjectUserKeyOrDataException

Represents the invalid project user key or data exception that this class contains.

DtsLogProviderAttribute

Supplies design time information about a LogProvider object.

DTSManagedXmlSerializationHelper

Represents the helper for the DTS managed XML serialization.

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

Represents the DTS property attribute.

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

Enumerates the referenced objects.

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

Copyright (c) 2019 Microsoft Corporation This file contains all the US english event messages and HRESULTs for the SQL Data Transformation Services Runtime, Pipeline, stock tasks, and stock transforms. Message and HRESULT naming convention Error HRESULTs - Begin with DTS_E_ End with the description of the failed operation Warning HRESULTs - Begin with DTS_W_ End with the description of the warning operation Information HRESULTs - Begin with DTS_I_ End with the description of the operation Success HRESULTs - Begin with DTS_S_ End with the description of the successful operation Messages for the event log - Begin with DTS_MSG_ End with the description of the message Values are 32 bit values laid out as follows: 3 3 2 2 2 2 2 2 2 2 2 2 1 1 1 1 1 1 1 1 1 1 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 +---+-+-+-----------------------+-------------------------------+ |Sev|C|R| Facility | Code | +---+-+-+-----------------------+-------------------------------+ where Sev - is the severity code 00 - Success 01 - Informational 10 - Warning 11 - Error C - is the Customer code flag R - is a reserved bit Facility - is the facility code Code - is the facility's status code

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

Represents the wrapper for the managed For Each enumerator. This class cannot be inherited.

ManagedHelper

Represents the managed helper.

ManagedHelper.ManagedPropertyHelper

Represents the managed property header.

ManagedWrapper

Represents the managed wrapper.

ManagerSerializer

Represents the manager serializer.

NameChecker

Represents the name checker.

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.

PackageItem

PackageItem contains package related information including package, state, etc.

PackageItems

Contains a collection of PackageItem objects.

PackageParameterEnumerator

Represents the package parameter enumerator.

PackageUpgradeOptions

Specifies the options to be applied when an Integration Services package is upgraded.

PackageUpgradeResult

Specifies the upgrade results for a package.

Parameter

Represents an abstract base class used by both package parameter and project parameter.

ParameterInfo

Represents a read only copy of the parameter information so that applications can get parameter information without having to load the whole package object.

ParameterInfos

Represents a collection of parameter objects.

Parameters

Represents a class used by both the package parameters and project parameters collection.

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 PrecedenceConstraint objects. This class cannot be inherited.

Project

Represents Integration Services project which contains packages and parameters.

ProjectVariablesWrapper

Contains a collection of project variables wrapper.

PropertyEnumerator

Supports iteration over the DtsProperties collection. This class cannot be inherited.

ReferenceLoader
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(String) 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(String) again. This class cannot be inherited.

RunningPackagesEnumerator

Supports iteration over the RunningPackages collection. This class cannot be inherited.

SelectedLogProviders

Contains a collection of selected LogProvider objects. This class cannot be inherited.

SensitiveConnectionManagerBase
SensitiveStringAttribute
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.

SsisServerExecution

Represents the SSIS server execution.

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.

Structs

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.

Interfaces

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.

IDTSConfigurationControl

Provides a property that controls how a package loads configurations.

IDTSDowngradableObject

Represents the interface for the DTS downgradable object.

IDTSDumpConfiguration

Represents the configuration for the dumping of Data Transformation Service interface.

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.

IDTSExecutionPath

Represents the DTS execution path.

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.

IDTSPackageInternal

Defines an interface implemented by containers that need to have the internal property.

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.

IDTSPropertiesProviderEx

Represents the DTS properties provider expressions.

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.

Enums

ActionOnExistType

Defines the behavior that occurs when an upgrade package has the same name as an existing Integration Services package.

ConnectionManagerItemState

Specifies the state of the connection manager item.

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.

DTSConnectionManagerScope

Specifies the DTS connection manager scope.

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

Specifies the DTS execution location.

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(Object) 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.

DTSServerParameterType

Specifies the DTS server parameter type.

DTSSignatureStatus

Describes the status of the digital signature.

DTSTargetServerVersion
DTSTransactionOption

Describes transaction supportability and specifies whether a container participates in transactions.

NameCheckResult

Specifies the result of a name check.

PackageFormatVersionUpdate
PackageItemState

Specifies the state of a package item.

Project.AccessMode

Defines the constants for read-only or read/write access to a project.

ProjectStorageAttributes

Specifies the attributes of project storage.

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.