DatabaseConnectionControl.RemoveConnection Method
Removes a DataExplorerConnection from the combo box.
Namespace: Microsoft.VisualStudio.Data.Schema.Project.Common.UI.DatabaseConnectionControl
Assembly: Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)
Syntax
'Declaration
Public Sub RemoveConnection ( _
connectionName As String _
)
'Usage
Dim instance As DatabaseConnectionControl
Dim connectionName As String
instance.RemoveConnection(connectionName)
public void RemoveConnection(
string connectionName
)
public:
void RemoveConnection(
String^ connectionName
)
public function RemoveConnection(
connectionName : String
)
member RemoveConnection :
connectionName:string -> unit
Parameters
- connectionName
Type: System.String
The connection to remove
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
DatabaseConnectionControl Class
DatabaseConnectionControl Members
Microsoft.VisualStudio.Data.Schema.Project.Common.UI.DatabaseConnectionControl Namespace