IDTSVariables100.Add(String, Boolean, String, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將 IDTSVariable100 物件加入至集合。
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
參數
- bstrName
- String
要加入集合的套件、任務或容器變數名稱。
- bReadOnly
- Boolean
true表示該變數為唯讀;否則,則為錯誤。
- bstrNamespace
- String
變數的命名空間。
- vValue
- Object
變數的設計時值。
傳回
新增 IDTSVariable100 的物品加入收藏。
- 屬性
備註
如需詳細資訊,請參閱 Variables。