ExtendedProperties 类
Contains a collection of ExtendedProperty objects. This class cannot be inherited.
继承层次结构
System. . :: . .Object
Microsoft.SqlServer.Dts.Runtime. . :: . .DTSReadOnlyCollectionBase
Microsoft.SqlServer.Dts.Runtime..::..ExtendedProperties
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public NotInheritable Class ExtendedProperties _
Inherits DTSReadOnlyCollectionBase
用法
Dim instance As ExtendedProperties
public sealed class ExtendedProperties : DTSReadOnlyCollectionBase
public ref class ExtendedProperties sealed : public DTSReadOnlyCollectionBase
[<SealedAttribute>]
type ExtendedProperties =
class
inherit DTSReadOnlyCollectionBase
end
public final class ExtendedProperties extends DTSReadOnlyCollectionBase
ExtendedProperties 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
Count | Gets the number of elements contained in the DTSReadOnlyCollectionBase instance. (从 DTSReadOnlyCollectionBase 继承。) | |
IsSynchronized | Gets a value that indicates whether access to the DTSReadOnlyCollectionBase is synchronized (thread-safe). (从 DTSReadOnlyCollectionBase 继承。) | |
Item | Returns an ExtendedProperty object from the collection. | |
SyncRoot | Gets an object that can be used to synchronize access to the DTSReadOnlyCollectionBase. (从 DTSReadOnlyCollectionBase 继承。) |
页首
方法
名称 | 说明 | |
---|---|---|
Add | Adds a new, empty ExtendedProperty object to the end of the collection | |
Contains | Returns a Boolean that indicates whether the items in the collection can be accessed using indexing without throwing an exception. | |
CopyTo | Copies the entire DTSReadOnlyCollectionBase to a compatible one-dimensional array, starting at the specified index of the target array. (从 DTSReadOnlyCollectionBase 继承。) | |
CreateManagedObject | 基础结构。 (从 DTSReadOnlyCollectionBase 继承。) | |
Equals | (从 Object 继承。) | |
Finalize | (从 Object 继承。) | |
GetCount | 基础结构。 (从 DTSReadOnlyCollectionBase 继承。) | |
GetEnumerator | Returns an ExtendedPropertyEnumerator for iterating over the ExtendedProperties collection. | |
GetHashCode | (从 Object 继承。) | |
GetManagedEnumerator | 基础结构。 (从 DTSReadOnlyCollectionBase 继承。) | |
GetType | (从 Object 继承。) | |
MemberwiseClone | (从 Object 继承。) | |
Remove | Removes an ExtendedProperty object from the ExtendedProperties collection | |
ToString | (从 Object 继承。) |
页首
注释
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 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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。