IDTSPath100 Interface

Définition

Représente une connexion entre deux composantes.

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
Attributs
Implémente

Exemples

L’exemple de code suivant montre comment créer un nouvel IDTSPath100 objet, puis attacher la sortie du composant en amont à l’entrée du composant en aval.

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  

Remarques

Les objets de chemin sont créés pour établir le flux de données entre le IDTSOutput100 d’un composant en amont et le IDTSInput100 d’un autre composant. Un chemin contient un seul objet de sortie représenté comme le StartPoint, et une seule entrée, qui est le EndPoint du chemin. Un chemin entre deux composants est établi dans un processus en deux étapes. D’abord, créez le chemin en appelant New la collection de chemins de l’objet IDTSComponentMetaData100 . Deuxièmement, établissez le chemin en appelant AttachPathAndPropagateNotifications le chemin lui-même. Cette méthode établit le chemin et notifie les composantes affectées de son existence.

Les colonnes de la StartPoint sont ensuite mappées à la EndPoint en appelant SetUsageType.

Propriétés

Nom Description
Description

Obtient ou définit la description de l’objet IDTSPath100 .

EndPoint

Obtient ou définit l’objet IDTSInput100 associé à un chemin.

ID

Obtient ou définit l’ID d’un IDTSPath100 objet.

IdentificationString

Obtient une chaîne unique qui identifie un IDTSPath100 objet.

Name

Obtient ou définit l’identifiant de chaîne d’un IDTSPath100 objet.

ObjectType

Retourne une valeur de l’énumération DTSObjectType .

StartPoint

Obtient ou définit l’objet IDTSOutput100 associé à un chemin.

Visualized

Définit une valeur indiquant que l’utilisateur a attaché un visualiseur de données à ce chemin dans SSIS Designer.

Méthodes

Nom Description
AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Établit un chemin entre deux composants et notifie les composants concernés.

S’applique à