ProjectVariablesWrapper.Add 方法
Adds a specified IDTSVariable100 object to the ProjectVariablesWrapper instance.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Function Add ( _
bstrName As String, _
bReadOnly As Boolean, _
bstrNamespace As String, _
vValue As Object _
) As IDTSVariable100
用法
Dim instance As ProjectVariablesWrapper
Dim bstrName As String
Dim bReadOnly As Boolean
Dim bstrNamespace As String
Dim vValue As Object
Dim returnValue As IDTSVariable100
returnValue = instance.Add(bstrName, bReadOnly, _
bstrNamespace, vValue)
public IDTSVariable100 Add(
string bstrName,
bool bReadOnly,
string bstrNamespace,
Object vValue
)
public:
virtual IDTSVariable100^ Add(
String^ bstrName,
bool bReadOnly,
String^ bstrNamespace,
Object^ vValue
) sealed
abstract Add :
bstrName:string *
bReadOnly:bool *
bstrNamespace:string *
vValue:Object -> IDTSVariable100
override Add :
bstrName:string *
bReadOnly:bool *
bstrNamespace:string *
vValue:Object -> IDTSVariable100
public final function Add(
bstrName : String,
bReadOnly : boolean,
bstrNamespace : String,
vValue : Object
) : IDTSVariable100
参数
- bstrName
类型:System.String
The name of the variable to add to the collection.
- bReadOnly
类型:System.Boolean
Indicates whether the variable is read-only or whether the variable can be modified.
- bstrNamespace
类型:System.String
The namespace for the variable.
- vValue
类型:System.Object
The design-time value of the variable.
返回值
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
The IDTSVariable100 that was added to the ProjectVariablesWrapper instance.
实现
IDTSVariables100.Add(String, Boolean, String, Object)