Gets a value for a key by checking each replica.
Namespace: CouchbaseAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 0.0.0.0 (0.0.0.0)
Syntaxpublic IOperationResult<T> GetFromReplica<T>(
string key
)
public IOperationResult<T> GetFromReplica<T>(
string key
)
Public Function GetFromReplica(Of T) (
key As String
) As IOperationResult(Of T)
Public Function GetFromReplica(Of T) (
key As String
) As IOperationResult(Of T)
public:
generic<typename T>
virtual IOperationResult<T>^ GetFromReplica(
String^ key
) sealed
public:
generic<typename T>
virtual IOperationResult<T>^ GetFromReplica(
String^ key
) sealed
abstract GetFromReplica :
key : string -> IOperationResult<'T>
override GetFromReplica :
key : string -> IOperationResult<'T>
abstract GetFromReplica :
key : string -> IOperationResult<'T>
override GetFromReplica :
key : string -> IOperationResult<'T>
Parameters
- key
- Type: System.String
The key of the value to retrieve.
Type Parameters- T
- The Type of the value being retrieved.
Return Value
Type:
IOperationResult<T>An
IOperationResult with the results of the operation.
Implements
IBucket.GetFromReplica<T>(String)
See Also