此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Sets the output property of the host.
命名空間: Microsoft.SqlServer.Dts.Pipeline
組件: Microsoft.SqlServer.PipelineHost (在 Microsoft.SqlServer.PipelineHost.dll 中)
語法
'宣告
Public Function HostSetOutputProperty ( _
wrapper As IDTSManagedComponentWrapper100, _
outputID As Integer, _
propertyName As String, _
propertyValue As Object _
) As IDTSCustomProperty100
'用途
Dim instance As ManagedComponentHost
Dim wrapper As IDTSManagedComponentWrapper100
Dim outputID As Integer
Dim propertyName As String
Dim propertyValue As Object
Dim returnValue As IDTSCustomProperty100
returnValue = instance.HostSetOutputProperty(wrapper, _
outputID, propertyName, propertyValue)
public IDTSCustomProperty100 HostSetOutputProperty(
IDTSManagedComponentWrapper100 wrapper,
int outputID,
string propertyName,
Object propertyValue
)
public:
virtual IDTSCustomProperty100^ HostSetOutputProperty(
IDTSManagedComponentWrapper100^ wrapper,
int outputID,
String^ propertyName,
Object^ propertyValue
) sealed
abstract HostSetOutputProperty :
wrapper:IDTSManagedComponentWrapper100 *
outputID:int *
propertyName:string *
propertyValue:Object -> IDTSCustomProperty100
override HostSetOutputProperty :
wrapper:IDTSManagedComponentWrapper100 *
outputID:int *
propertyName:string *
propertyValue:Object -> IDTSCustomProperty100
public final function HostSetOutputProperty(
wrapper : IDTSManagedComponentWrapper100,
outputID : int,
propertyName : String,
propertyValue : Object
) : IDTSCustomProperty100
參數
- wrapper
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The component wrapper.
- outputID
型別:System.Int32
The output identifier.
- propertyName
型別:System.String
The name of the property.
- propertyValue
型別:System.Object
The value of the property.
傳回值
型別:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The output property of the host.