語言

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 例的。

實作

適用於