IDTSPath100 Antarmuka
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
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
- Atribut
- Penerapan
Contoh
Contoh kode berikut menunjukkan cara membuat objek baru IDTSPath100 , lalu melampirkan output komponen upstram ke input komponen hilir.
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;
}
Keterangan
Objek jalur dibuat untuk menetapkan aliran data antara IDTSOutput100 komponen hulu dan IDTSInput100 komponen lain. Jalur berisi satu objek output yang direpresentasikan sebagai StartPoint, dan input tunggal, yang merupakan EndPoint jalur. Jalur antara dua komponen ditetapkan dalam proses dua langkah. Pertama, buat jalur dengan memanggil Baru pada kumpulan jalur objek IDTSComponentMetaData100. Kedua, tetapkan jalur dengan memanggil AttachPathAndPropagateNotifications di jalur itu sendiri. Metode ini menetapkan jalur dan memberi tahu komponen yang terpengaruh tentang keberadaannya.
Kolom kemudian dipetakan StartPoint ke EndPoint dengan memanggil SetUsageType.
Properti
| Description | |
| EndPoint | |
| ID | |
| IdentificationString | |
| Name | |
| ObjectType | |
| StartPoint | |
| Visualized |
Metode
| AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100) |