IDTSPath100 Interfaccia

Definizione

Rappresenta una connessione tra due componenti.

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
Attributi
Implementazioni

Esempio

Il seguente esempio di codice dimostra come creare un nuovo IDTSPath100 oggetto e poi collegare l'output del componente a monte all'input del componente a valle.

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  

Commenti

Gli oggetti path sono creati per stabilire il flusso di dati tra il IDTSOutput100 di un componente a monte e il IDTSInput100 di un altro componente. Un percorso contiene un singolo oggetto di uscita rappresentato come , StartPointe un singolo input, che è il EndPoint del cammino. Un percorso tra due componenti viene stabilito in un processo in due fasi. Per prima cosa, crea il percorso chiamando New la raccolta del percorso dell'oggetto IDTSComponentMetaData100 . In secondo luogo, stabilisci il percorso invocando AttachPathAndPropagateNotifications il sentiero stesso. Questo metodo stabilisce il percorso e notifica i componenti coinvolti nella sua esistenza.

Le colonne del StartPoint sono successivamente mappate nel EndPoint chiamando SetUsageType.

Proprietà

Nome Descrizione
Description

Ottiene o imposta la descrizione dell'oggetto IDTSPath100 .

EndPoint

Ottiene o imposta l'oggetto IDTSInput100 associato a un percorso.

ID

Ottiene o imposta l'ID di un IDTSPath100 oggetto.

IdentificationString

Ottiene una stringa unica che identifica un IDTSPath100 oggetto.

Name

Ottiene o imposta l'identificatore della stringa di un IDTSPath100 oggetto.

ObjectType

Restituisce un valore dall'enumerazione DTSObjectType .

StartPoint

Ottiene o imposta l'oggetto IDTSOutput100 associato a un percorso.

Visualized

Imposta un valore che indica che l'utente ha allegato un visualizzatore dati a questo percorso in SSIS Designer.

Metodi

Nome Descrizione
AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Stabilisce un percorso tra due componenti e notifica i componenti interessati.

Si applica a