CManagedComponentWrapperClass.SetComponentProperty(String, Object) 方法

定义

向组件的 IDTSCustomProperty100 赋值。

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSCustomProperty100 ^ SetComponentProperty(System::String ^ PropertyName, System::Object ^ vValue) = Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSDesigntimeComponent100::SetComponentProperty;
[System.Runtime.InteropServices.DispId(17)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100 SetComponentProperty (string PropertyName, object vValue);
[<System.Runtime.InteropServices.DispId(17)>]
abstract member SetComponentProperty : string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
override this.SetComponentProperty : string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
Public Overridable Function SetComponentProperty (PropertyName As String, vValue As Object) As IDTSCustomProperty100

参数

PropertyName
String

设置其值的 IDTSCustomProperty100 的名称。

vValue
Object

分配给 IDTSCustomProperty100 对象的 Value 属性的对象。

返回

设置其属性的 IDTSCustomProperty100 对象。

实现

属性

注解

调用此方法可将值分配给组件的一个 IDTSCustomProperty100 值。

适用于