Udostępnij za pośrednictwem


PipelineComponent.SetInputProperty Method

Assigns a value to the IDTSCustomProperty90 of an IDTSInput90 object. This method is not CLS-compliant.

Namespace: Microsoft.SqlServer.Dts.Pipeline
Assembly: Microsoft.SqlServer.PipelineHost (in microsoft.sqlserver.pipelinehost.dll)

Syntax

'Declaration
<CLSCompliantAttribute(False)> _
Public Overridable Function SetInputProperty ( _
    inputID As Integer, _
    propertyName As String, _
    propertyValue As Object _
) As IDTSCustomProperty90
[CLSCompliantAttribute(false)] 
public virtual IDTSCustomProperty90 SetInputProperty (
    int inputID,
    string propertyName,
    Object propertyValue
)
[CLSCompliantAttribute(false)] 
public:
virtual IDTSCustomProperty90^ SetInputProperty (
    int inputID, 
    String^ propertyName, 
    Object^ propertyValue
)
/** @attribute CLSCompliantAttribute(false) */ 
public IDTSCustomProperty90 SetInputProperty (
    int inputID, 
    String propertyName, 
    Object propertyValue
)
CLSCompliantAttribute(false) 
public function SetInputProperty (
    inputID : int, 
    propertyName : String, 
    propertyValue : Object
) : IDTSCustomProperty90

Parameters

  • inputID
    The ID of the IDTSInput90 object that contains the custom property.
  • propertyValue
    The value to assign to the IDTSCustomProperty90.

Return Value

The IDTSCustomProperty90 object whose value is set.

Remarks

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

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

PipelineComponent Class
PipelineComponent Members
Microsoft.SqlServer.Dts.Pipeline Namespace