共用方式為


IDTSManagedComponentHost100.HostSetComponentProperty Method

Definition

Sets the host component property.

public:
 Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSCustomProperty100 ^ HostSetComponentProperty(Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSManagedComponentWrapper100 ^ pWrapper, System::String ^ PropertyName, System::Object ^ vValue);
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100 HostSetComponentProperty (Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100 pWrapper, string PropertyName, object vValue);
abstract member HostSetComponentProperty : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100 * string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
Public Function HostSetComponentProperty (pWrapper As IDTSManagedComponentWrapper100, PropertyName As String, vValue As Object) As IDTSCustomProperty100

Parameters

pWrapper
IDTSManagedComponentWrapper100

The wrapper used.

PropertyName
String

The property name.

vValue
Object

The value.

Returns

The host component property.

Applies to