IDTSPath100 Interface
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
public interface class IDTSPath100 : Microsoft::SqlServer::Dts::Pipeline::Wrapper::Sql2014::IDTSObject100
[System.Runtime.InteropServices.Guid("7BD99105-F435-4265-83DA-BC0023CC293C")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)]
public interface IDTSPath100 : Microsoft.SqlServer.Dts.Pipeline.Wrapper.Sql2014.IDTSObject100
[<System.Runtime.InteropServices.Guid("7BD99105-F435-4265-83DA-BC0023CC293C")>]
[<System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable | System.Runtime.InteropServices.TypeLibTypeFlags.FDual)>]
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 | |
| EndPoint | |
| ID | |
| IdentificationString | |
| Name | |
| ObjectType | |
| StartPoint | |
| Visualized | |
Méthodes
| Nom | Description |
|---|---|
| AttachPathAndPropagateNotifications(IDTSOutput100, IDTSInput100) | |