Condividi tramite


IDTSVariables100.Add(String, Boolean, String, Object) Metodo

Definizione

Aggiunge un oggetto IDTSVariable100 alla raccolta.

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

Parametri

bstrName
String

Nome del pacchetto, dell'attività o della variabile del contenitore da aggiungere alla raccolta.

bReadOnly
Boolean

true per indicare che la variabile è di sola lettura; in caso contrario, false.

bstrNamespace
String

Spazio dei nomi per la variabile.

vValue
Object

Valore della variabile in fase di progettazione.

Restituisce

Oggetto IDTSVariable100 aggiunto alla raccolta.

Attributi

Commenti

Per altre informazioni, vedere Variables.

Si applica a