共用方式為


IDTSDesigntimeComponent100.SetComponentProperty(String, Object) Method

Definition

Assigns a value to an IDTSCustomProperty100 of a component.

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSCustomProperty100 ^ SetComponentProperty(System::String ^ PropertyName, System::Object ^ vValue);
[System.Runtime.InteropServices.DispId(17)]
public 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
Public 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 stored in the Value property of the IDTSCustomProperty100 object.

Returns

The IDTSCustomProperty100 object whose property is set.

Attributes

Remarks

This method is called when the custom property of a component is edited.

Applies to