Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Creates a new IDTSInput90 object and adds it to an IDTSInputCollection90.
Espace de noms: Microsoft.SqlServer.Dts.Pipeline.Wrapper
Assembly: Microsoft.SqlServer.DTSPipelineWrap (in microsoft.sqlserver.dtspipelinewrap.dll)
Syntaxe
'Déclaration
<DispIdAttribute(14)> _
Function New As IDTSInput90
[DispIdAttribute(14)]
IDTSInput90 New ()
[DispIdAttribute(14)]
IDTSInput90^ New ()
/** @attribute DispIdAttribute(14) */
IDTSInput90 New ()
DispIdAttribute(14)
function New () : IDTSInput90
Valeur de retour
Returns the newly added IDTSInput90 object.
Notes
The New method creates an input object, adds it to the collection, and returns the input. A component typically creates an input object during a call to the ProvideComponentProperties method.
When programmatically adding an input to an existing component, the InsertInput method of the design-time instance of the component should be called instead of directly modifying the component's metadata. Direct access to the metadata bypasses the component's ability to monitor and prevent changes to its metadata.
Exemple
The following code example adds an input object to the input collection of a component.
public override void ProvideComponentProperties()
{
IDTSInput90 input = ComponentMetaData.InputCollection.New();
input.Name = "DTSSampleInput";
}
Sécurité des threads
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Plateformes
Plateformes de développement
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Plateformes cibles
Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.
Voir aussi
Référence
IDTSInputCollection90 Interface
IDTSInputCollection90 Members
Microsoft.SqlServer.Dts.Pipeline.Wrapper Namespace