ProjectVariablesWrapper.Add(String, Boolean, String, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向实例添加指定的 IDTSVariable100 对象 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
参数
- bstrName
- String
要添加到集合中的变量名称。
- bReadOnly
- Boolean
表示变量是只读还是可修改。
- bstrNamespace
- String
变量的命名空间。
- vValue
- Object
变量的设计时值。
返回
IDTSVariable100那个被添加到实例ProjectVariablesWrapper里的。