Parameter 类

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

继承层次结构

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

命名空间:  Microsoft.SqlServer.Dts.Runtime
程序集:  Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)

语法

声明
Public MustInherit Class Parameter _
    Inherits DtsObject _
    Implements IComponent, IDisposable, IDTSName, IDTSPersist
用法
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

Parameter 类型公开以下成员。

构造函数

  名称 说明
受保护方法 Parameter Initializes a new instance of the Parameter class.

页首

属性

  名称 说明
公共属性 CreationName Gets the name used to create the Parameter object.
公共属性 DataType Gets the data type of the Parameter object.
公共属性 Description Gets or sets the description of the Parameter object.
公共属性 ID Gets the identifier of the Parameter object.
公共属性 IncludeInDebugDump 基础结构。Gets or sets a value that indicates whether the Parameter object is included in a debug dump.
公共属性 Name Gets or sets the name of the Parameter object.
公共属性 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.
公共属性 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.
公共属性 Site Gets or sets the ISite interface associated with the Parameter object.
公共属性 Value Gets or sets the value of the Parameter object.

页首

方法

  名称 说明
受保护方法静态成员 CheckParameterName Validates the specified parameter name.
公共方法 Dispose Releases all resources used by the current instance of the Parameter class.
公共方法 Equals Determines whether two object instances are equal. (从 DtsObject 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode Returns the hash code for this instance. (从 DtsObject 继承。)
公共方法 GetType (从 Object 继承。)
公共方法 LoadFromXML Loads a package and all its objects that have been saved to memory in XML format.
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 SaveToXML Saves the XML definition of a package to a file.
公共方法 ToString (从 Object 继承。)

页首

事件

  名称 说明
公共事件 Disposed Occurs when the component is disposed by a call to the Dispose() method.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.Dts.Runtime 命名空间