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

实现

适用于