SetOutputProperty Método
Sets the value of an IDTSCustomProperty100 on an IDTSOutput100 object.
Esta API no es compatible con CLS.
Espacio de nombres: Microsoft.SqlServer.Dts.Pipeline
Ensamblado: Microsoft.SqlServer.PipelineHost (en Microsoft.SqlServer.PipelineHost.dll)
Sintaxis
'Declaración
<CLSCompliantAttribute(False)> _
Public Overridable Function SetOutputProperty ( _
outputID As Integer, _
propertyName As String, _
propertyValue As Object _
) As IDTSCustomProperty100
'Uso
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
Parámetros
- outputID
Tipo: System. . :: . .Int32
The ID of the IDTSOutput100 whose IDTSCustomProperty100 is set.
- propertyName
Tipo: System. . :: . .String
The name of the IDTSCustomProperty100 to set.
- propertyValue
Tipo: System. . :: . .Object
The value assigned to the IDTSCustomProperty100.
Valor devuelto
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSCustomProperty100
The IDTSCustomProperty100 object whose value was set.
Notas
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.
Vea también