Share via


ProjectVariablesWrapper.Add(String, Boolean, String, Object) Méthode

Définition

Ajoute un objet IDTSVariable100 spécifié à l'instance ProjectVariablesWrapper.

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariable100 ^ Add(System::String ^ bstrName, bool bReadOnly, System::String ^ bstrNamespace, System::Object ^ vValue);
public Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100 Add (string bstrName, bool bReadOnly, string bstrNamespace, object vValue);
abstract member Add : string * bool * string * obj -> Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
override this.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

Nom de la variable à ajouter à la collection.

bReadOnly
Boolean

Indique si la valeur est en lecture seule ou si elle peut être modifiée.

bstrNamespace
String

Espace de noms pour la variable.

vValue
Object

Valeur de la variable au moment de la conception.

Retours

IDTSVariable100 qui a été ajouté à l'instance ProjectVariablesWrapper.

Implémente

S’applique à