Export (0) Print
Expand All

Variables.Remove Method

Removes a Variable object from the Variables collection.

Namespace:  Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public function Remove(
	index : Object
)

Parameters

index
Type: Object
The name, ID, description, or index of the Variable object to remove from the collection.

The following code example adds a variable to an empty package. The variable is named myCustomVar, is given a value of 3, and is located in the User namespace. The variable is then removed using the Remove method.

No code example is currently available or this language may not be supported.

Sample Output:

The variable was found? True

---------------------------

Variable: myCustomVar, 3

---------------------------

---------------------------

Community Additions

ADD
Show:
© 2015 Microsoft