DtsPackage Members

The DtsPackage type exposes the following members.

Methods

  NameDescription
Public methodEquals
Determines whether this instance and another specified object have the same value.
(Inherited from DtsObject.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetChildExecutable
Gets an executable. All package containers will be recursively searched.
Public methodGetConfiguration
Gets a configuration.
Public methodGetConnection
Gets a connection.
Public methodGetErrors
Gets all errors occured during package execution.
Public methodGetExpression
Gets an expression for the given property name.
(Inherited from DtsObject.)
Public methodGetHashCode
Returns the hash code for this dts object.
(Inherited from DtsObject.)
Protected methodGetObjectId
Returns the identifier of an dts object.
(Overrides DtsObject..::..GetObjectId()()()().)
Protected methodGetObjectName
Returns the name of an dts object.
(Overrides DtsObject..::..GetObjectName()()()().)
Public methodGetParameter
Gets a parameter.
Public methodGetPath
Gets the path to the executable relative to the root of the package.
Public methodGetPrecedingConstraint
Get a precedence constraint.
Public methodGetPrecedingConstraintForPath
Get a precedence constraint.
Public methodGetPrecedingConstraints
Gets all precedence constraints contained in a package.
Public methodGetProperty
Gets a property
(Inherited from DtsObject.)
Public methodGetPropertyForPath
Gets a property. All package containers will be recursively searched.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVariable
Gets a variable.
Public methodGetVariableForPath
Gets a variable.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodSetConfigurationStrings
Sets configuration strings to configurations in the package.
Public methodSetConnectionStrings
Sets connection strings to connections in the package.
Public methodSetExpression
Assigns the specified expression to the property. Specify null to remove an existing expression from the property.
(Inherited from DtsObject.)
Public methodSetPackageParameters
Sets package parameters.
Public methodSetPropertiesForPaths
Sets values to properties in the package.
Public methodSetVariablesForPaths
Sets values to variables in the package.
Public methodThrowExceptionOnError
Throws the InvalidOperationException exception, if an error occured during the package execution. Use GetErrors()()()() to get these errors.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyId
Gets the identifier of an dts object.
(Inherited from DtsObject.)
Public propertyIsExecutionSuccess
Gets a value indicating whether the package has executed successfully.
Public propertyName
Gets the name of an dts object.
(Inherited from DtsObject.)
Public propertyProject
Gets a project that includes the package. If the package is not part of the project the value is null.

See Also