Share via


ExtendedProperties.Add Method

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

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

Syntax

'Declaration
Public Function Add ( _
    name As String, _
    nameSpace As String, _
    val As Object _
) As ExtendedProperty
'Usage
Dim instance As ExtendedProperties
Dim name As String
Dim nameSpace As String
Dim val As Object
Dim returnValue As ExtendedProperty

returnValue = instance.Add(name, nameSpace, _
    val)
public ExtendedProperty Add(
    string name,
    string nameSpace,
    Object val
)
public:
ExtendedProperty^ Add(
    String^ name, 
    String^ nameSpace, 
    Object^ val
)
member Add : 
        name:string * 
        nameSpace:string * 
        val:Object -> ExtendedProperty 
public function Add(
    name : String, 
    nameSpace : String, 
    val : Object
) : ExtendedProperty

Parameters

  • name
    Type: System.String
    The name of the extended property to add.
  • nameSpace
    Type: System.String
    The namespace that the extended property belongs to.
  • val
    Type: System.Object
    The value to assign to the extended property.

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.ExtendedProperty
A new, empty ExtendedProperty object.