AccessCondition.GenerateIfNoneMatchCondition(String) Method

Definition

Constructs an access condition such that an operation will be performed only if the resource's current ETag value does not match the specified ETag value.

public static Microsoft.Azure.Search.Models.AccessCondition GenerateIfNoneMatchCondition (string eTag);
static member GenerateIfNoneMatchCondition : string -> Microsoft.Azure.Search.Models.AccessCondition
Public Shared Function GenerateIfNoneMatchCondition (eTag As String) As AccessCondition

Parameters

eTag
String

The ETag value to check against the resource's ETag.

Returns

An AccessCondition object that represents the If-None-Match condition.

Applies to