IDTSPath100 介面
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public interface class IDTSPath100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2012::IDTSObject100
[System.Runtime.InteropServices.Guid("E25E234C-0F9A-4A2D-93A8-1AA097E6355C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2012.IDTSObject100
[<System.Runtime.InteropServices.Guid("E25E234C-0F9A-4A2D-93A8-1AA097E6355C")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSPath100 = interface
interface IDTSObject100
Public Interface IDTSPath100
Implements IDTSObject100
- 屬性
- 實作
範例
以下程式碼範例示範如何建立一個新 IDTSPath100 物件,然後將上游元件的輸出附加到下游元件的輸入端。
Public Function EstablishPath(ByVal mp As MainPipe, ByVal start As IDTSOutput100, ByVal end As IDTSInput100) As IDTSPath100
Dim path As IDTSPath100 = mp.PathCollection.New
path.AttachPathAndPropagateNotifications(start, end)
Return path
End Function
public IDTSPath100 EstablishPath( MainPipe mp , IDTSOutput100 start , IDTSInput100 end )
{
IDTSPath100 path = mp.PathCollection.New();
path.AttachPathAndPropagateNotifications( start, end );
return path;
}
備註
路徑物件的建立是為了建立上游元件與IDTSInput100另一元件之間的IDTSOutput100資料流動。 一條路徑包含一個輸出物件,表示為 StartPoint,以及一個輸入,即該路徑的 。EndPoint 兩個元件之間的路徑是透過兩步驟建立的。 首先,透過呼叫 IDTSComponentMetaData100 物件的路徑集合中的 New 來建立路徑。 第二,透過呼喚 AttachPathAndPropagateNotifications 路徑本身來建立路徑。 此方法建立路徑並通知受影響元件其存在。
隨後,該StartPoint欄位會透過呼叫 SetUsageType映射到 。EndPoint
屬性
| 名稱 | Description |
|---|---|
| Description | |
| EndPoint | |
| ID | |
| IdentificationString | |
| Name | |
| ObjectType | |
| StartPoint | |
| Visualized | |
方法
| 名稱 | Description |
|---|---|
| AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100) | |