Share via


Servers Property

Gets or sets an array of DataCacheServerEndpoint objects.

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

Syntax

'Declaration
Public Property Servers As IEnumerable(Of DataCacheServerEndpoint)
    Get
    Set
'Usage
Dim instance As DataCacheFactoryConfiguration
Dim value As IEnumerable(Of DataCacheServerEndpoint)

value = instance.Servers

instance.Servers = value
public IEnumerable<DataCacheServerEndpoint> Servers { get; set; }
public:
property IEnumerable<DataCacheServerEndpoint^>^ Servers {
    IEnumerable<DataCacheServerEndpoint^>^ get ();
    void set (IEnumerable<DataCacheServerEndpoint^>^ value);
}
member Servers : IEnumerable<DataCacheServerEndpoint> with get, set
function get Servers () : IEnumerable<DataCacheServerEndpoint>
function set Servers (value : IEnumerable<DataCacheServerEndpoint>)

Property Value

Type: System.Collections.Generic. . :: . .IEnumerable< (Of < ( <'DataCacheServerEndpoint> ) > ) >
Returns IEnumerable<(Of <(<'T>)>)>.

Remarks

In , each DataCacheServerEndpoint represents a cache host in the cache cluster. In , each DataCacheServerEndpoint represents a caching service URL.

See Also

Reference

DataCacheFactoryConfiguration Class

Microsoft.ApplicationServer.Caching Namespace