Share via


DataConnectionManager.ICollection<DataConnection>.Remove Method

Removes a data connection from the DDEX data connection collection.

Namespace:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)

Syntax

'Declaration
Private Function Remove ( _
    item As DataConnection _
) As Boolean Implements ICollection(Of DataConnection).Remove
bool ICollection<DataConnection>.Remove(
    DataConnection item
)
private:
virtual bool Remove(
    DataConnection^ item
) sealed = ICollection<DataConnection^>::Remove
private abstract Remove : 
        item:DataConnection -> bool 
private override Remove : 
        item:DataConnection -> bool 
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Boolean
Returns true if the data connection was found and successfully removed; otherwise returns false.

Implements

ICollection<T>.Remove(T)

.NET Framework Security

See Also

Reference

DataConnectionManager Class

Microsoft.VisualStudio.Data Namespace