ManagedComponentHost.HostSetInputProperty 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Sets the input property of the host.
命名空间: Microsoft.SqlServer.Dts.Pipeline
程序集: Microsoft.SqlServer.PipelineHost(在 Microsoft.SqlServer.PipelineHost.dll 中)
语法
声明
Public Function HostSetInputProperty ( _
wrapper As IDTSManagedComponentWrapper100, _
inputID As Integer, _
propertyName As String, _
propertyValue As Object _
) As IDTSCustomProperty100
用法
Dim instance As ManagedComponentHost
Dim wrapper As IDTSManagedComponentWrapper100
Dim inputID As Integer
Dim propertyName As String
Dim propertyValue As Object
Dim returnValue As IDTSCustomProperty100
returnValue = instance.HostSetInputProperty(wrapper, _
inputID, propertyName, propertyValue)
public IDTSCustomProperty100 HostSetInputProperty(
IDTSManagedComponentWrapper100 wrapper,
int inputID,
string propertyName,
Object propertyValue
)
public:
virtual IDTSCustomProperty100^ HostSetInputProperty(
IDTSManagedComponentWrapper100^ wrapper,
int inputID,
String^ propertyName,
Object^ propertyValue
) sealed
abstract HostSetInputProperty :
wrapper:IDTSManagedComponentWrapper100 *
inputID:int *
propertyName:string *
propertyValue:Object -> IDTSCustomProperty100
override HostSetInputProperty :
wrapper:IDTSManagedComponentWrapper100 *
inputID:int *
propertyName:string *
propertyValue:Object -> IDTSCustomProperty100
public final function HostSetInputProperty(
wrapper : IDTSManagedComponentWrapper100,
inputID : int,
propertyName : String,
propertyValue : Object
) : IDTSCustomProperty100
参数
- wrapper
类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSManagedComponentWrapper100
The component wrapper.
- inputID
类型:System.Int32
The input identifier.
- propertyName
类型:System.String
The property name.
- propertyValue
类型:System.Object
The property value.
返回值
类型:Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSCustomProperty100
The input property of the host.