此 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.