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