Метод SetComponentProperty
Assigns a value to a IDTSCustomProperty100 of the component.
Пространство имен: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Сборка: Microsoft.SqlServer.DTSPipelineWrap (в Microsoft.SqlServer.DTSPipelineWrap.dll)
Синтаксис
'Декларация
Public Overridable Function SetComponentProperty ( _
PropertyName As String, _
vValue As Object _
) As IDTSCustomProperty100
'Применение
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
Параметры
- PropertyName
Тип: System. . :: . .String
The name of the IDTSCustomProperty100 whose value is set.
- vValue
Тип: System. . :: . .Object
The object assigned to the Value property of the IDTSCustomProperty100 object.
Возвращаемое значение
Тип: Microsoft.SqlServer.Dts.Pipeline.Wrapper. . :: . .IDTSCustomProperty100
The IDTSCustomProperty100 object whose property is set.
Реализует
IDTSDesigntimeComponent100. . :: . .SetComponentProperty(String, Object)