Share via


HostName Property

The computer name or service URL of the cache server.

Namespace:  Microsoft.ApplicationServer.Caching
Assembly:  Microsoft.ApplicationServer.Caching.Client (in Microsoft.ApplicationServer.Caching.Client.dll)

Syntax

'Declaration
Public ReadOnly Property HostName As String
    Get
'Usage
Dim instance As DataCacheServerEndpoint
Dim value As String

value = instance.HostName
public string HostName { get; }
public:
property String^ HostName {
    String^ get ();
}
member HostName : string
function get HostName () : String

Property Value

Type: System. . :: . .String
A string representing the computer name or service URL of the cache server.

Remarks

For Microsoft AppFabric 1.1 for Windows Server Caching, the HostName refers to the cache server, which is the physical computer where the caching service is installed. For Windows Azure Shared Caching, the HostName refers to the service URL from the .

See Also

Reference

DataCacheServerEndpoint Class

Microsoft.ApplicationServer.Caching Namespace