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