ServicePoint.CloseConnectionGroup(String) ServicePoint.CloseConnectionGroup(String) ServicePoint.CloseConnectionGroup(String) ServicePoint.CloseConnectionGroup(String) Method

Definition

Removes the specified connection group from this ServicePoint object.

public:
 bool CloseConnectionGroup(System::String ^ connectionGroupName);
public bool CloseConnectionGroup (string connectionGroupName);
member this.CloseConnectionGroup : string -> bool
Public Function CloseConnectionGroup (connectionGroupName As String) As Boolean

Parameters

connectionGroupName
String String String String

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

Returns

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

Remarks

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.

Applies to