Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Adds a specified IDTSVariable100 object to the ProjectVariablesWrapper instance.
Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)
Syntax
'Declaration
Public Function Add ( _
bstrName As String, _
bReadOnly As Boolean, _
bstrNamespace As String, _
vValue As Object _
) As IDTSVariable100
'Usage
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
Parameters
- 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.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariable100
The IDTSVariable100 that was added to the ProjectVariablesWrapper instance.
Implements
IDTSVariables100.Add(String, Boolean, String, Object)