Поделиться через


Метод 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

Параметры

Возвращаемое значение

Тип 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.