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


DataCacheServerEndpoint.CachePort Property

The cache port on the cache server.

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

Usage

'Usage
Dim instance As DataCacheServerEndpoint
Dim value As Integer

value = instance.CachePort

Syntax

'Declaration
Public ReadOnly Property CachePort As Integer
public int CachePort { get; }
public:
property int CachePort {
    int get ();
}
/** @property */
public int get_CachePort ()
public function get CachePort () : int

Property Value

A Int32 value that represents the cache port number on the cache server.

Remarks

The cache port number defines the port that is used to transfer cache data. It is defined at installation time, but may be reconfigured with the PowerShell cache administration tool. For more information, see Cache Administration with PowerShell (Velocity).

The cache server is the physical computer where the cache host service is installed. The cache client may be configured programmatically or with the application configuration file. For more information, see Configuration (Velocity).

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

DataCacheServerEndpoint Class
DataCacheServerEndpoint Members
Microsoft.ApplicationServer.Caching Namespace

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