CloseConnectionGroup Method
Collapse the table of content
Expand the table of content

ServicePoint.CloseConnectionGroup Method

Note: This method is new in the .NET Framework version 2.0.

Removes the specified connection group from this ServicePoint object.

Namespace: System.Net
Assembly: System (in system.dll)

public bool CloseConnectionGroup (
	string connectionGroupName
public boolean CloseConnectionGroup (
	String connectionGroupName
public function CloseConnectionGroup (
	connectionGroupName : String
) : boolean



The name of the connection group that contains the connections to close and remove from this service point.

Return Value

A Boolean value that indicates whether the connection group was closed.

Connection groups associate a set of requests with a particular connection or set of connections. This method removes and closes all connections that belong to the specified connection group.

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

© 2016 Microsoft