Couchbase .NET SDK | 3.9.0
Search Results for

    Show / Hide Table of Contents

    Interface IClusterVersionProvider

    Provides version information about the cluster.

    Namespace: Couchbase.Core.Version
    Assembly: Couchbase.NetClient.dll
    Syntax
    public interface IClusterVersionProvider
    Remarks

    The implementation of this interface is typically obtained from ClusterServices.

    Methods

    | Edit this page View Source

    ClearCache()

    Clear any cached value, getting a fresh value from the cluster on the next request.

    Declaration
    void ClearCache()
    | Edit this page View Source

    GetVersionAsync()

    Gets the ClusterVersion from the currently connected cluster, if available.

    Declaration
    ValueTask<ClusterVersion?> GetVersionAsync()
    Returns
    Type Description
    ValueTask<ClusterVersion?>

    The ClusterVersion, or null if unavailable.

    • Edit this page
    • View Source
    In this article
    Back to top © 2026 Couchbase, Inc.