다음을 통해 공유


KeyValueStoreReplica.EnumerateMetadata Method

Definition

Overloads

EnumerateMetadata(TransactionBase)

Returns an enumerator that iterates through the KeyValueStoreItemMetadata values in the key/value store.

EnumerateMetadata(TransactionBase, String)

Returns an enumerator that iterates through the KeyValueStoreItemMetadata values in the key/value store, where the value keys match the specified key prefix.

EnumerateMetadata(TransactionBase, String, Boolean)

Returns an enumerator that iterates through the KeyValueStoreItemMetadata values in the key/value store.

EnumerateMetadata(TransactionBase)

Returns an enumerator that iterates through the KeyValueStoreItemMetadata values in the key/value store.

public System.Collections.Generic.IEnumerator<System.Fabric.KeyValueStoreItemMetadata> EnumerateMetadata (System.Fabric.TransactionBase transactionBase);
member this.EnumerateMetadata : System.Fabric.TransactionBase -> System.Collections.Generic.IEnumerator<System.Fabric.KeyValueStoreItemMetadata>
Public Function EnumerateMetadata (transactionBase As TransactionBase) As IEnumerator(Of KeyValueStoreItemMetadata)

Parameters

transactionBase
TransactionBase

The transaction instance.

Returns

A KeyValueStoreItemMetadata enumerator.

Applies to

EnumerateMetadata(TransactionBase, String)

Returns an enumerator that iterates through the KeyValueStoreItemMetadata values in the key/value store, where the value keys match the specified key prefix.

public System.Collections.Generic.IEnumerator<System.Fabric.KeyValueStoreItemMetadata> EnumerateMetadata (System.Fabric.TransactionBase transactionBase, string keyPrefix);
member this.EnumerateMetadata : System.Fabric.TransactionBase * string -> System.Collections.Generic.IEnumerator<System.Fabric.KeyValueStoreItemMetadata>
Public Function EnumerateMetadata (transactionBase As TransactionBase, keyPrefix As String) As IEnumerator(Of KeyValueStoreItemMetadata)

Parameters

transactionBase
TransactionBase

The transaction instance.

keyPrefix
String

The key, or index, prefix to match (as a string). Limited to 800 characters in length.

Returns

A KeyValueStoreItemMetadata enumerator.

Remarks

Equivalent to calling EnumerateMetadata(TransactionBase, String, Boolean) with strictPrefix set to true.

Applies to

EnumerateMetadata(TransactionBase, String, Boolean)

Returns an enumerator that iterates through the KeyValueStoreItemMetadata values in the key/value store.

public System.Collections.Generic.IEnumerator<System.Fabric.KeyValueStoreItemMetadata> EnumerateMetadata (System.Fabric.TransactionBase transactionBase, string keyPrefix, bool strictPrefix);
member this.EnumerateMetadata : System.Fabric.TransactionBase * string * bool -> System.Collections.Generic.IEnumerator<System.Fabric.KeyValueStoreItemMetadata>
Public Function EnumerateMetadata (transactionBase As TransactionBase, keyPrefix As String, strictPrefix As Boolean) As IEnumerator(Of KeyValueStoreItemMetadata)

Parameters

transactionBase
TransactionBase

The transaction instance.

keyPrefix
String

The key, or index, prefix to match (as a string). Limited to 800 characters in length.

strictPrefix
Boolean

When true, only keys prefixed by the value specified for keyPrefix are returned. Otherwise, enumeration starts at the first key matching or lexicographically greater than keyPrefix and continues until there are no more keys. The default is true.

Returns

A KeyValueStoreItemMetadata enumerator.

Applies to