ExtendedProperties.Add Method

Adds a new, empty ExtendedProperty object to the end of the collection

命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

语法

声明
Public Function Add ( _
    name As String, _
    nameSpace As String, _
    val As Object _
) As ExtendedProperty
public ExtendedProperty Add (
    string name,
    string nameSpace,
    Object val
)
public:
ExtendedProperty^ Add (
    String^ name, 
    String^ nameSpace, 
    Object^ val
)
public ExtendedProperty Add (
    String name, 
    String nameSpace, 
    Object val
)
public function Add (
    name : String, 
    nameSpace : String, 
    val : Object
) : ExtendedProperty

参数

  • name
    The name of the extended property to add.
  • nameSpace
    The namespace that the extended property belongs to.
  • val
    The value to assign to the extended property.

返回值

A new, empty ExtendedProperty object.

线程安全

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

平台

开发平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

目标平台

有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。

请参阅

参考

ExtendedProperties Class
ExtendedProperties Members
Microsoft.SqlServer.Dts.Runtime Namespace