Bagikan melalui


IDTSPath100 Antarmuka

Definisi

Mewakili koneksi antara dua komponen.

public interface class IDTSPath100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::IDTSObject100
[System.Runtime.InteropServices.Guid("6B300A02-5EE0-4E86-8E52-5309197D4A6A")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("B6958407-AA8A-44E5-BD05-9FBEAD54E641")]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
[System.Runtime.InteropServices.Guid("4256D17F-7FD3-49F4-8764-0C16B29CD442")]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.IDTSObject100
[<System.Runtime.InteropServices.Guid("6B300A02-5EE0-4E86-8E52-5309197D4A6A")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
type IDTSPath100 = interface
    interface IDTSObject100
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("B6958407-AA8A-44E5-BD05-9FBEAD54E641")>]
type IDTSPath100 = interface
    interface IDTSObject100
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
[<System.Runtime.InteropServices.Guid("4256D17F-7FD3-49F4-8764-0C16B29CD442")>]
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 upstream ke input komponen hilir.

public IDTSPath100 EstablishPath( MainPipe mp , IDTSOutput100 start , IDTSInput100 end )  
{  
IDTSPath100 path = mp.PathCollection.New();  
path.AttachPathAndPropagateNotifications( start, end );  
return path;  
}  
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  

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 dari jalur. Jalur antara dua komponen ditetapkan dalam proses dua langkah. Pertama, buat jalur dengan memanggil New pada kumpulan IDTSComponentMetaData100 jalur objek. 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

Mendapatkan atau mengatur deskripsi IDTSPath100 objek.

EndPoint

Mendapatkan atau mengatur objek yang IDTSInput100 terkait dengan jalur.

ID

Mendapatkan atau mengatur ID IDTSPath100 objek.

IdentificationString

Mendapatkan string unik yang mengidentifikasi IDTSPath100 objek.

Name

Mendapatkan atau mengatur pengidentifikasi IDTSPath100 string objek.

ObjectType

Mengembalikan nilai dari DTSObjectType enumerasi.

StartPoint

Mendapatkan atau mengatur objek yang IDTSOutput100 terkait dengan jalur.

Visualized

Mengatur nilai yang menunjukkan bahwa pengguna telah melampirkan penampil data ke jalur ini di SSIS Designer.

Metode

AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Menetapkan jalur antara dua komponen dan memberi tahu komponen yang terpengaruh.

Berlaku untuk