Поділитися через


DataCacheFactoryConfiguration.MaxConnectionsToServer Property

Specifies the maximum number of channels to open to the cache cluster.

Namespace: Microsoft.ApplicationServer.Caching
Assembly: Microsoft.ApplicationServer.Caching.Client (in microsoft.applicationserver.caching.client.dll)

Usage

'Usage
Dim instance As DataCacheFactoryConfiguration
Dim value As Integer

value = instance.MaxConnectionsToServer

instance.MaxConnectionsToServer = value

Syntax

'Declaration
Public Property MaxConnectionsToServer As Integer
public int MaxConnectionsToServer { get; set; }
public:
property int MaxConnectionsToServer {
    int get ();
    void set (int value);
}
/** @property */
public int get_MaxConnectionsToServer ()

/** @property */
public void set_MaxConnectionsToServer (int value)
public function get MaxConnectionsToServer () : int

public function set MaxConnectionsToServer (value : int)

Property Value

Returns Int32.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Visual Studio 2010 and later, .NET Framework 4

Target Platforms

Windows 7; Windows Server 2008 R2; Windows Server 2008 Service Pack 2; Windows Vista Service Pack 2

See Also

Reference

DataCacheFactoryConfiguration Class
DataCacheFactoryConfiguration Members
Microsoft.ApplicationServer.Caching Namespace

  ff425062(v=azure.10).md 2011-08-26