IDTSVariables100.Add(String, Boolean, String, Object) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Adiciona um objeto IDTSVariable100 à coleção.
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
Parâmetros
- bstrName
- String
O nome da variável do pacote, tarefa ou contêiner a ser adicionado à coleção.
- bReadOnly
- Boolean
verdadeiro para indicar que a variável é somente leitura; caso contrário, falso.
- bstrNamespace
- String
O namespace da variável.
- vValue
- Object
O valor em tempo de projeto da variável.
Retornos
O objeto adicionado IDTSVariable100 à coleção.
- Atributos
Comentários
Para obter mais informações, consulte Variables.