语言

ProjectVariablesWrapper.Add(String, Boolean, String, Object) 方法

定义

向实例添加指定的 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里的。

实现

适用于