Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Adds a specified IDTSVariable100 object to the ProjectVariablesWrapper instance.
Espace de noms : Microsoft.SqlServer.Dts.Runtime
Assembly : Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Syntaxe
'Déclaration
Public Function Add ( _
bstrName As String, _
bReadOnly As Boolean, _
bstrNamespace As String, _
vValue As Object _
) As IDTSVariable100
'Utilisation
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
Paramètres
- bstrName
Type : System.String
The name of the variable to add to the collection.
- bReadOnly
Type : System.Boolean
Indicates whether the variable is read-only or whether the variable can be modified.
- bstrNamespace
Type : System.String
The namespace for the variable.
- vValue
Type : System.Object
The design-time value of the variable.
Valeur de retour
Type : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
The IDTSVariable100 that was added to the ProjectVariablesWrapper instance.
Implémente
IDTSVariables100.Add(String, Boolean, String, Object)