Set the maximum number of queries to perform on a given socket before closing it.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Sub setMaxSocketUsage( _ 
   ByVal val As Integer _ 
) _
    Implements INetricsServerInterface.setMaxSocketUsage
C#
public void setMaxSocketUsage(
   int val
)
C++
public:
 void setMaxSocketUsage(
   int val
) sealed 
J#
public void setMaxSocketUsage(
   int val
)
JScript
public  function setMaxSocketUsage(
   val : int
)

Implements

INetricsServerInterface.setMaxSocketUsage

Remarks

Not relevent if connection pooling is turned off. Do not set this value unless you're experiencing platform-specific socket issues.

See Also