![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | ClientNetworkConfigAddAddress Method |
Adds given addresses to the list of candidate addresses that client will use to establish initial connection.
Namespace:
Hazelcast.Config
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic virtual ClientNetworkConfig AddAddress(
params string[] addresses
)
Public Overridable Function AddAddress (
ParamArray addresses As String()
) As ClientNetworkConfig
public:
virtual ClientNetworkConfig^ AddAddress(
... array<String^>^ addresses
)
abstract AddAddress :
addresses : string[] -> ClientNetworkConfig
override AddAddress :
addresses : string[] -> ClientNetworkConfig
Parameters
- addresses
- Type: SystemString
Return Value
Type:
ClientNetworkConfigClientNetworkConfig for chaining
See Also