Método SetComponentProperty
Assigns a value to an IDTSCustomProperty100 of a component.
Namespace: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (em Microsoft.SqlServer.DTSPipelineWrap.dll)
Sintaxe
'Declaração
Function SetComponentProperty ( _
PropertyName As String, _
vValue As Object _
) As IDTSCustomProperty100
'Uso
Dim instance As IDTSDesigntimeComponent100
Dim PropertyName As String
Dim vValue As Object
Dim returnValue As IDTSCustomProperty100
returnValue = instance.SetComponentProperty(PropertyName, _
vValue)
IDTSCustomProperty100 SetComponentProperty(
string PropertyName,
Object vValue
)
IDTSCustomProperty100^ SetComponentProperty(
[InAttribute] String^ PropertyName,
[InAttribute] Object^ vValue
)
abstract SetComponentProperty :
PropertyName:string *
vValue:Object -> IDTSCustomProperty100
function SetComponentProperty(
PropertyName : String,
vValue : Object
) : IDTSCustomProperty100
Parâmetros
- PropertyName
Tipo: System. . :: . .String
The name of the IDTSCustomProperty100 whose value is set.
- vValue
Tipo: System. . :: . .Object
The object stored in the Value property of the IDTSCustomProperty100 object.
Valor de retorno
Tipo: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSCustomProperty100
The IDTSCustomProperty100 object whose property is set.
Comentários
This method is called when the custom property of a component is edited.