DataCacheServerEndpoint.HostName Property

The computer name of 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 String

value = instance.HostName

Syntax

'Declaration
Public ReadOnly Property HostName As String
public string HostName { get; }
public:
property String^ HostName {
    String^ get ();
}
/** @property */
public String get_HostName ()
public function get HostName () : String

Property Value

A string representing the computer name of the cache server.

Remarks

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