PipelineComponent.SetInputColumnProperty 方法
Assigns a value to the IDTSCustomProperty100 of an IDTSInputColumn100 object.
此 API 不符合 CLS 標準。
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)
語法
'宣告
<CLSCompliantAttribute(False)> _
Public Overridable Function SetInputColumnProperty ( _
inputID As Integer, _
inputColumnID As Integer, _
propertyName As String, _
propertyValue As Object _
) As IDTSCustomProperty100
'用途
Dim instance As PipelineComponent
Dim inputID As Integer
Dim inputColumnID As Integer
Dim propertyName As String
Dim propertyValue As Object
Dim returnValue As IDTSCustomProperty100
returnValue = instance.SetInputColumnProperty(inputID, _
inputColumnID, propertyName, propertyValue)
[CLSCompliantAttribute(false)]
public virtual IDTSCustomProperty100 SetInputColumnProperty(
int inputID,
int inputColumnID,
string propertyName,
Object propertyValue
)
[CLSCompliantAttribute(false)]
public:
virtual IDTSCustomProperty100^ SetInputColumnProperty(
int inputID,
int inputColumnID,
String^ propertyName,
Object^ propertyValue
)
[<CLSCompliantAttribute(false)>]
abstract SetInputColumnProperty :
inputID:int *
inputColumnID:int *
propertyName:string *
propertyValue:Object -> IDTSCustomProperty100
[<CLSCompliantAttribute(false)>]
override SetInputColumnProperty :
inputID:int *
inputColumnID:int *
propertyName:string *
propertyValue:Object -> IDTSCustomProperty100
public function SetInputColumnProperty(
inputID : int,
inputColumnID : int,
propertyName : String,
propertyValue : Object
) : IDTSCustomProperty100
參數
- inputID
型別:System.Int32
The ID of the IDTSInput100 object that contains the IDTSInputColumn100.
- inputColumnID
型別:System.Int32
The ID of the IDTSInputColumn100 object whose IDTSCustomProperty100 is being set.
- propertyName
型別:System.String
The name of the IDTSCustomProperty100 object.
- propertyValue
型別:System.Object
The value set in the IDTSCustomProperty100.
傳回值
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The IDTSCustomProperty100 object whose property is set.
備註
Override this method to control or prevent modifications to the custom properties of the component.