共用方式為


ExtendedProperty 類別

This class contains members that hold additional information about a package.

繼承階層

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

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public NotInheritable Class ExtendedProperty _
    Inherits DtsObject _
    Implements IDTSPersist, IDTSName, IComponent, IDisposable
'用途
Dim instance As ExtendedProperty
public sealed class ExtendedProperty : DtsObject, 
    IDTSPersist, IDTSName, IComponent, IDisposable
public ref class ExtendedProperty sealed : public DtsObject, 
    IDTSPersist, IDTSName, IComponent, IDisposable
[<SealedAttribute>]
type ExtendedProperty =  
    class 
        inherit DtsObject 
        interface IDTSPersist 
        interface IDTSName 
        interface IComponent 
        interface IDisposable 
    end
public final class ExtendedProperty extends DtsObject implements IDTSPersist, IDTSName, IComponent, IDisposable

ExtendedProperty 型別公開下列成員。

屬性

  名稱 說明
公用屬性 CreationName Returns the string that is used by the run-time engine to create an instance of the ExtendedProperty object and to add the object to the ExtendedProperties collection. This property is read-only.
公用屬性 DataType Gets the DataType of the value stored in this instance for the package. This field is read-only.
公用屬性 Description Gets or sets the description related to the property stored in this instance.
公用屬性 ID Gets the GUID for this instance.
公用屬性 Name Gets or sets a name for what is stored in this instance.
公用屬性 Namespace Gets or sets the namespace associated with this information.
公用屬性 Site 基礎結構。Gets or sets the site of the property.
公用屬性 Value Gets or sets the value for the information stored in this instance.

上層

方法

  名稱 說明
公用方法 Dispose Releases the resources used by the instance of this class.
公用方法 Equals Determines whether two object instances are equal. (繼承自 DtsObject。)
公用方法 GetHashCode Returns the hash code for this instance. (繼承自 DtsObject。)
公用方法 GetType (繼承自 Object。)
公用方法 LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method
公用方法 SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
公用方法 ToString (繼承自 Object。)

上層

事件

  名稱 說明
公用事件 Disposed Adds an event handler to listen to the Disposed event.

上層

備註

The ExtendedProperties collection lets custom information be stored with a package. For example, SSIS Designer itself stores package layout information in extended properties. Although the package extended properties of the package are hidden at design time and ignored at run time, they are persisted with the package and provide a convenient way to attach user-defined information or metadata to a package for possible use by an automated process or custom tool.

Each ExtendedProperty has a Name, a Description, a DataType, and a Value. Use the ExtendedProperties property of the Package to access its extended properties collection, and use the Add method of the collection to add a new extended property.

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.Dts.Runtime 命名空間