Assembly: System (in system.dll)
/** @property */ public String get_ConnectionGroupName () /** @property */ public void set_ConnectionGroupName (String value)
public override function get ConnectionGroupName () : String public override function set ConnectionGroupName (value : String)
Property ValueA String value that contains a connection group name.
A new value was specified for this property for a request that is already in progress.
Connection groups associate a set of requests with a particular connection or set of connections. The connections in a connection group can be reused only by requests originating in the same application domain, when the credentials on the request are the same and the request specifies the connection group name. When a request does not specify a connection group name, any existing connection to the requested server that is not associated with a connection group can be used. When the credentials are not the same, the existing connection is closed and the new request must be reauthenticated.
Using connection groups can improve performance because this allows all of the requests for a user to reuse the connection authenticated with the user's credentials.
The following code example retrieves the value of this property.
Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter EditionThe Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.