DataCacheFactoryConfiguration.Servers Property
Gets or sets an array of DataCacheServerEndpoint objects. Each DataCacheServerEndpoint represents a cache host in 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 IEnumerable(Of DataCacheServerEndpoint)
value = instance.Servers
instance.Servers = value
Syntax
'Declaration
Public Property Servers As IEnumerable(Of DataCacheServerEndpoint)
public IEnumerable<DataCacheServerEndpoint> Servers { get; set; }
public:
property IEnumerable<DataCacheServerEndpoint^>^ Servers {
IEnumerable<DataCacheServerEndpoint^>^ get ();
void set (IEnumerable<DataCacheServerEndpoint^>^ value);
}
/** @property */
public IEnumerable<DataCacheServerEndpoint> get_Servers ()
/** @property */
public void set_Servers (IEnumerable<DataCacheServerEndpoint> value)
public function get Servers () : IEnumerable<DataCacheServerEndpoint>
public function set Servers (value : IEnumerable<DataCacheServerEndpoint>)
Property Value
Returns IEnumerable.
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