Variables.Remove Method (Object)


Removes a Variable object from the Variables collection.

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

member Remove : 
        index:Object -> unit


Type: System.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



Return to top