Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CloseConnectionGroup Method
Collapse the table of content
Expand the table of content

ServicePoint.CloseConnectionGroup Method

Removes the specified connection group from this ServicePoint object.

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

bool CloseConnectionGroup (
	String^ connectionGroupName
public boolean CloseConnectionGroup (
	String connectionGroupName
public function CloseConnectionGroup (
	connectionGroupName : String
) : boolean
Not applicable.



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 Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

© 2015 Microsoft