Metoda CManagedComponentWrapperClass.SetComponentProperty
Przypisuje wartości do IDTSCustomProperty100 składnika.
Przestrzeń nazw: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Zestaw: Microsoft.SqlServer.DTSPipelineWrap (w Microsoft.SqlServer.DTSPipelineWrap.dll)
Składnia
'Deklaracja
Public Overridable Function SetComponentProperty ( _
PropertyName As String, _
vValue As Object _
) As IDTSCustomProperty100
'Użycie
Dim instance As CManagedComponentWrapperClass
Dim PropertyName As String
Dim vValue As Object
Dim returnValue As IDTSCustomProperty100
returnValue = instance.SetComponentProperty(PropertyName, _
vValue)
public virtual IDTSCustomProperty100 SetComponentProperty(
string PropertyName,
Object vValue
)
public:
virtual IDTSCustomProperty100^ SetComponentProperty(
[InAttribute] String^ PropertyName,
[InAttribute] Object^ vValue
)
abstract SetComponentProperty :
PropertyName:string *
vValue:Object -> IDTSCustomProperty100
override SetComponentProperty :
PropertyName:string *
vValue:Object -> IDTSCustomProperty100
public function SetComponentProperty(
PropertyName : String,
vValue : Object
) : IDTSCustomProperty100
Parametry
- PropertyName
Typ: System.String
Nazwa IDTSCustomProperty100 którego wartością jest zestaw.
- vValue
Typ: System.Object
Przypisana do wartości właściwość obiektu IDTSCustomProperty100 obiektu.
Wartość zwracana
Typ: Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
IDTSCustomProperty100 Obiekt, którego właściwość jest zestaw.
Implementacje
IDTSDesigntimeComponent100.SetComponentProperty(String, Object)
Zobacz także