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.