Método Add
Adds a new, empty ExtendedProperty object to the end of the collection
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (em Microsoft.SqlServer.ManagedDTS.dll)
Sintaxe
'Declaração
Public Function Add ( _
name As String, _
nameSpace As String, _
val As Object _
) As ExtendedProperty
'Uso
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
Parâmetros
- name
Tipo: System. . :: . .String
The name of the extended property to add.
- nameSpace
Tipo: System. . :: . .String
The namespace that the extended property belongs to.
- val
Tipo: System. . :: . .Object
The value to assign to the extended property.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Runtime. . :: . .ExtendedProperty
A new, empty ExtendedProperty object.