Share via


Parameter Class

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

Inheritance Hierarchy

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public MustInherit Class Parameter _
    Inherits DtsObject _
    Implements IComponent, IDisposable, IDTSName, IDTSPersist
'Usage
Dim instance As Parameter
public abstract class Parameter : DtsObject, 
    IComponent, IDisposable, IDTSName, IDTSPersist
public ref class Parameter abstract : public DtsObject, 
    IComponent, IDisposable, IDTSName, IDTSPersist
[<AbstractClassAttribute>]
type Parameter =  
    class 
        inherit DtsObject 
        interface IComponent 
        interface IDisposable 
        interface IDTSName 
        interface IDTSPersist 
    end
public abstract class Parameter extends DtsObject implements IComponent, IDisposable, IDTSName, IDTSPersist

The Parameter type exposes the following members.

Constructors

  Name Description
Protected method Parameter Initializes a new instance of the Parameter class.

Top

Properties

  Name Description
Public property CreationName Gets the name used to create the Parameter object.
Public property DataType Gets the data type of the Parameter object.
Public property Description Gets or sets the description of the Parameter object.
Public property ID Gets the identifier of the Parameter object.
Public property IncludeInDebugDump Infrastructure. Gets or sets a value that indicates whether the Parameter object is included in a debug dump.
Public property Name Gets or sets the name of the Parameter object.
Public property Required Gets or sets a value that indicates whether the Parameter object is a required parameter. If this value is true, a value must be assigned before a project or package can be executed.
Public property Sensitive Gets or sets a value that indicates whether the Parameter object contains sensitive data. If this value is true, the value is encrypted in the Integration Services catalog.
Public property Site Gets or sets the ISite interface associated with the Parameter object.
Public property Value Gets or sets the value of the Parameter object.

Top

Methods

  Name Description
Protected methodStatic member CheckParameterName Validates the specified parameter name.
Public method Dispose Releases all resources used by the current instance of the Parameter class.
Public method Equals Determines whether two object instances are equal. (Inherited from DtsObject.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from DtsObject.)
Public method GetType (Inherited from Object.)
Public method LoadFromXML Loads a package and all its objects that have been saved to memory in XML format.
Protected method MemberwiseClone (Inherited from Object.)
Public method SaveToXML Saves the XML definition of a package to a file.
Public method ToString (Inherited from Object.)

Top

Events

  Name Description
Public event Disposed Occurs when the component is disposed by a call to the Dispose() method.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Dts.Runtime Namespace