共用方式為


PipelineComponent.SetInputProperty(Int32, String, Object) Method

Definition

Important

This API is not CLS-compliant.

Assigns a value to the IDTSCustomProperty100 of an IDTSInput100 object.

public:
 virtual Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSCustomProperty100 ^ SetInputProperty(int inputID, System::String ^ propertyName, System::Object ^ propertyValue);
[System.CLSCompliant(false)]
public virtual Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100 SetInputProperty (int inputID, string propertyName, object propertyValue);
[<System.CLSCompliant(false)>]
abstract member SetInputProperty : int * string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
override this.SetInputProperty : int * string * obj -> Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
Public Overridable Function SetInputProperty (inputID As Integer, propertyName As String, propertyValue As Object) As IDTSCustomProperty100

Parameters

inputID
Int32

The ID of the IDTSInput100 object that contains the custom property.

propertyName
String

The name of the IDTSCustomProperty100.

propertyValue
Object

The value to assign to the IDTSCustomProperty100.

Returns

The IDTSCustomProperty100 object whose value is set.

Attributes

Remarks

Override this method to control or prevent modifications to the custom property of the input.

Applies to