共用方式為


CManagedComponentWrapperClass.SetComponentProperty(String, Object) Method

Definition

Assigns a value to a IDTSCustomProperty100 of the component.

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

Parameters

PropertyName
String

The name of the IDTSCustomProperty100 whose value is set.

vValue
Object

The object assigned to the Value property of the IDTSCustomProperty100 object.

Returns

The IDTSCustomProperty100 object whose property is set.

Implements

Attributes

Remarks

Call this method to assign a value to an IDTSCustomProperty100 of the component.

Applies to