IDTSVariables100.Add(String, Boolean, String, Object) Méthode
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.
Ajoute un IDTSVariable100 objet à la collection.
public:
Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariable100 ^ Add(System::String ^ bstrName, bool bReadOnly, System::String ^ bstrNamespace, System::Object ^ vValue);
[System.Runtime.InteropServices.DispId(2)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100 Add(string bstrName, bool bReadOnly, string bstrNamespace, object vValue);
[<System.Runtime.InteropServices.DispId(2)>]
abstract member Add : string * bool * string * obj -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
Public Function Add (bstrName As String, bReadOnly As Boolean, bstrNamespace As String, vValue As Object) As IDTSVariable100
Paramètres
- bstrName
- String
Le nom du package, de la tâche ou de la variable conteneur à ajouter à la collection.
- bReadOnly
- Boolean
vrai pour indiquer que la variable est en lecture seule ; sinon, faux.
- bstrNamespace
- String
L’espace de noms pour la variable.
- vValue
- Object
La valeur au temps de conception de la variable.
Retours
L’objet ajouté IDTSVariable100 à la collection.
- Attributs
Remarques
Pour plus d’informations, consultez Variables.