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