IDTSManagedComponentHost100.HostSetComponentProperty 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Sets the host component property.
命名空間: Microsoft.SqlServer.Dts.Pipeline.Wrapper
組件: Microsoft.SqlServer.DTSPipelineWrap (在 Microsoft.SqlServer.DTSPipelineWrap.dll 中)
語法
'宣告
Function HostSetComponentProperty ( _
pWrapper As IDTSManagedComponentWrapper100, _
PropertyName As String, _
vValue As Object _
) As IDTSCustomProperty100
'用途
Dim instance As IDTSManagedComponentHost100
Dim pWrapper As IDTSManagedComponentWrapper100
Dim PropertyName As String
Dim vValue As Object
Dim returnValue As IDTSCustomProperty100
returnValue = instance.HostSetComponentProperty(pWrapper, _
PropertyName, vValue)
IDTSCustomProperty100 HostSetComponentProperty(
IDTSManagedComponentWrapper100 pWrapper,
string PropertyName,
Object vValue
)
IDTSCustomProperty100^ HostSetComponentProperty(
[InAttribute] IDTSManagedComponentWrapper100^ pWrapper,
[InAttribute] String^ PropertyName,
[InAttribute] Object^ vValue
)
abstract HostSetComponentProperty :
pWrapper:IDTSManagedComponentWrapper100 *
PropertyName:string *
vValue:Object -> IDTSCustomProperty100
function HostSetComponentProperty(
pWrapper : IDTSManagedComponentWrapper100,
PropertyName : String,
vValue : Object
) : IDTSCustomProperty100
參數
- pWrapper
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The wrapper used.
- PropertyName
型別:System.String
The property name.
- vValue
型別:System.Object
The value.
傳回值
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The host component property.