Метод Add
Adds a new, empty ExtendedProperty object to the end of the collection
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
Public Function Add ( _
name As String, _
nameSpace As String, _
val As Object _
) As ExtendedProperty
'Применение
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
Параметры
- name
Тип: System. . :: . .String
The name of the extended property to add.
- nameSpace
Тип: System. . :: . .String
The namespace that the extended property belongs to.
- val
Тип: System. . :: . .Object
The value to assign to the extended property.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Runtime. . :: . .ExtendedProperty
A new, empty ExtendedProperty object.