![](../icons/Hazelcast-IMDG-Logo-Orange_Dark_200px.jpg) | HazelcastClientGetCluster Method |
Returns the ICluster that this Hazelcast instance is part of.
Namespace:
Hazelcast.Client
Assembly:
Hazelcast.Net (in Hazelcast.Net.dll) Version: 3.9.4
Syntaxpublic ICluster GetCluster()
Public Function GetCluster As ICluster
public:
virtual ICluster^ GetCluster() sealed
abstract GetCluster : unit -> ICluster
override GetCluster : unit -> ICluster
Return Value
Type:
IClustercluster that this Hazelcast instance is part of
Implements
IHazelcastInstanceGetCluster
Remarks
Returns the ICluster that this Hazelcast instance is part of.
ICluster interface allows you to add listener for membership
events and learn more about the cluster that this Hazelcast
instance is part of.
See Also