共用方式為


ManagedComponentHost.HostSetComponentProperty Method

Definition

Sets the host component property.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSCustomProperty100 ^ HostSetComponentProperty(Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSManagedComponentWrapper100 ^ wrapper, System::String ^ propertyName, System::Object ^ propertyValue);
public Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100 HostSetComponentProperty (Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100 wrapper, string propertyName, object propertyValue);
abstract member HostSetComponentProperty : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100 * string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
override this.HostSetComponentProperty : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100 * string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
Public Function HostSetComponentProperty (wrapper As IDTSManagedComponentWrapper100, propertyName As String, propertyValue As Object) As IDTSCustomProperty100

Parameters

wrapper
IDTSManagedComponentWrapper100

The component wrapper.

propertyName
String

The property name.

propertyValue
Object

The property value.

Returns

The host component property.

Implements

Applies to