ProjectVariablesWrapper.Add Método
Adds a specified IDTSVariable100 object to the ProjectVariablesWrapper instance.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Sintaxis
'Declaración
Public Function Add ( _
bstrName As String, _
bReadOnly As Boolean, _
bstrNamespace As String, _
vValue As Object _
) As IDTSVariable100
'Uso
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
Parámetros
- bstrName
Tipo: System.String
The name of the variable to add to the collection.
- bReadOnly
Tipo: System.Boolean
Indicates whether the variable is read-only or whether the variable can be modified.
- bstrNamespace
Tipo: System.String
The namespace for the variable.
- vValue
Tipo: System.Object
The design-time value of the variable.
Valor devuelto
Tipo: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
The IDTSVariable100 that was added to the ProjectVariablesWrapper instance.
Implementa
IDTSVariables100.Add(String, Boolean, String, Object)