IDTSPath100 Interface

Définition

Représente une connexion entre deux composants.

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 objet IDTSPath100 , 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 d’accès sont créés pour établir le flux de données entre le IDTSOutput100 composant en amont et l’autre IDTSInput100 composant. Un chemin d’accès contient un objet de sortie unique représenté sous la StartPointforme , et une seule entrée, qui est le EndPoint chemin d’accès. Un chemin d’accès entre deux composants est établi dans un processus en deux étapes. Tout d’abord, créez le chemin d’accès en appelant New la collection de chemins de l’objet IDTSComponentMetaData100 . Ensuite, établissez le chemin en appelant AttachPathAndPropagateNotifications le chemin lui-même. Cette méthode établit le chemin d’accès et avertit les composants affectés de son existence.

Les colonnes du fichier StartPoint sont ensuite mappées à l’appel EndPointSetUsageType.

Propriétés

Description

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

EndPoint

Obtient ou définit l'objet IDTSInput100 associé à un chemin d'accès.

ID

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

IdentificationString

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

Name

Obtient ou définit l'identificateur de chaîne d'un objet IDTSPath100.

ObjectType

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

StartPoint

Obtient ou définit l'objet IDTSOutput100 associé à un chemin d'accès.

Visualized

Définit une valeur indiquant que l’utilisateur a attaché une visionneuse de données à ce chemin dans le Concepteur SSIS.

Méthodes

AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100)

Établit un chemin d'accès entre deux composants et notifie les composants affectés.

S’applique à