共用方式為


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 命名空間