Метод PipelineComponent.SetInputProperty
Assigns a value to the IDTSCustomProperty100 of an IDTSInput100 object.
Этот API-интерфейс несовместим с CLS.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline
Сборка: Microsoft.SqlServer.PipelineHost (в Microsoft.SqlServer.PipelineHost.dll)
Синтаксис
'Декларация
<CLSCompliantAttribute(False)> _
Public Overridable Function SetInputProperty ( _
inputID As Integer, _
propertyName As String, _
propertyValue As Object _
) As IDTSCustomProperty100
'Применение
Dim instance As PipelineComponent
Dim inputID As Integer
Dim propertyName As String
Dim propertyValue As Object
Dim returnValue As IDTSCustomProperty100
returnValue = instance.SetInputProperty(inputID, _
propertyName, propertyValue)
[CLSCompliantAttribute(false)]
public virtual IDTSCustomProperty100 SetInputProperty(
int inputID,
string propertyName,
Object propertyValue
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSCustomProperty100^ SetInputProperty(
int inputID,
String^ propertyName,
Object^ propertyValue
)
[<CLSCompliantAttribute(false)>]
abstract SetInputProperty :
inputID:int *
propertyName:string *
propertyValue:Object -> IDTSCustomProperty100
[<CLSCompliantAttribute(false)>]
override SetInputProperty :
inputID:int *
propertyName:string *
propertyValue:Object -> IDTSCustomProperty100
public function SetInputProperty(
inputID : int,
propertyName : String,
propertyValue : Object
) : IDTSCustomProperty100
Параметры
- inputID
Тип: System.Int32
The ID of the IDTSInput100 object that contains the custom property.
- propertyName
Тип: System.String
The name of the IDTSCustomProperty100.
- propertyValue
Тип: System.Object
The value to assign to the IDTSCustomProperty100.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The IDTSCustomProperty100 object whose value is set.
Замечания
Override this method to control or prevent modifications to the custom property of the input.