CManagedComponentWrapperClass.SetComponentProperty 方法
Assigns a value to a IDTSCustomProperty100 of the component.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
語法
'宣告
Public Overridable Function SetComponentProperty ( _
PropertyName As String, _
vValue As Object _
) As IDTSCustomProperty100
'用途
Dim instance As CManagedComponentWrapperClass
Dim PropertyName As String
Dim vValue As Object
Dim returnValue As IDTSCustomProperty100
returnValue = instance.SetComponentProperty(PropertyName, _
vValue)
public virtual IDTSCustomProperty100 SetComponentProperty(
string PropertyName,
Object vValue
)
public:
virtual IDTSCustomProperty100^ SetComponentProperty(
[InAttribute] String^ PropertyName,
[InAttribute] Object^ vValue
)
abstract SetComponentProperty :
PropertyName:string *
vValue:Object -> IDTSCustomProperty100
override SetComponentProperty :
PropertyName:string *
vValue:Object -> IDTSCustomProperty100
public function SetComponentProperty(
PropertyName : String,
vValue : Object
) : IDTSCustomProperty100
參數
- PropertyName
型別:System.String
The name of the IDTSCustomProperty100 whose value is set.
- vValue
型別:System.Object
The object assigned to the Value property of the IDTSCustomProperty100 object.
傳回值
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The IDTSCustomProperty100 object whose property is set.
實作
IDTSDesigntimeComponent100.SetComponentProperty(String, Object)
備註
Call this method to assign a value to an IDTSCustomProperty100 of the component.