Linguaggio

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

Definizione

Aggiunge un oggetto IDTSVariable100 all'insieme.

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

Il nome del package, del compito o della variabile container da aggiungere alla collezione.

bReadOnly
Boolean

true per indicare che la variabile è di sola lettura; altrimenti, falso.

bstrNamespace
String

Il namespace per la variabile.

vValue
Object

Il valore in tempo di progettazione della variabile.

Valori restituiti

L'oggetto aggiunto IDTSVariable100 alla collezione.

Attributi

Commenti

Per altre informazioni, vedere Variables.

Si applica a