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