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

Nell'esempio di codice seguente viene illustrato come creare un nuovo IDTSPath100 oggetto e quindi collegare l'output del componente upstream all'input del componente downstream.

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 Percorso vengono creati per stabilire il flusso di dati tra un componente upstream e l'altro IDTSOutput100IDTSInput100 componente. Un percorso contiene un singolo oggetto di output rappresentato come StartPointe un singolo input, ovvero l'oggetto EndPoint del percorso. Un percorso tra due componenti viene stabilito in un processo in due passaggi. Creare prima di tutto il percorso chiamando New l'insieme path dell'oggetto IDTSComponentMetaData100 . In secondo luogo, stabilire il percorso chiamando AttachPathAndPropagateNotifications sul percorso stesso. Questo metodo stabilisce il percorso e informa i componenti interessati della relativa esistenza.

Le colonne dell'oggetto StartPoint vengono successivamente mappate all'oggetto EndPoint chiamando SetUsageType.

Proprietà

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 oggetto IDTSPath100.

IdentificationString

Ottiene una stringa univoca che identifica un oggetto IDTSPath100.

Name

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

ObjectType

Restituisce un valore dell'enumerazione DTSObjectType.

StartPoint

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

Visualized

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

Metodi

AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Stabilisce un percorso tra due componenti e notifica l'informazione ai componenti interessati.

Si applica a