ExtendedProperties.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.