Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Interface ITryUnlockResult

Provides an interface for unlocking a locked document, but instead of throwing DocumentNotFoundException exception if the document key is not found, allows for the existence to be checked via Exists.

Namespace: Couchbase.KeyValue
Assembly: Couchbase.NetClient.dll
Syntax
public interface ITryUnlockResult

Properties

View Source

DocumentExists

If false, the document does not exist on the server for a given key.

Declaration
bool DocumentExists { get; }
Property Value
Type Description
bool
View Source

Exists

If false, the document does not exist on the server for a given key.

Declaration
[Obsolete("Use DocumentExists instead")]
bool Exists { get; }
Property Value
Type Description
bool
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.