共用方式為


DtsContainer.SetWrappedExecutable 方法

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Sets the wrapped executable for the container.

此 API 不符合 CLS 標準。 符合 CLS 標準的替代項目是 。

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
<CLSCompliantAttribute(False)> _
Protected Overridable Sub SetWrappedExecutable ( _
    exec As IDTSExecutable100 _
)
'用途
Dim exec As IDTSExecutable100 

Me.SetWrappedExecutable(exec)
[CLSCompliantAttribute(false)]
protected virtual void SetWrappedExecutable(
    IDTSExecutable100 exec
)
[CLSCompliantAttribute(false)]
protected:
virtual void SetWrappedExecutable(
    IDTSExecutable100^ exec
)
[<CLSCompliantAttribute(false)>]
abstract SetWrappedExecutable : 
        exec:IDTSExecutable100 -> unit 
[<CLSCompliantAttribute(false)>]
override SetWrappedExecutable : 
        exec:IDTSExecutable100 -> unit
protected function SetWrappedExecutable(
    exec : IDTSExecutable100
)

參數

請參閱

參考

DtsContainer 類別

Microsoft.SqlServer.Dts.Runtime 命名空間