Share via


AccessCondition.IfNotChanged(IResourceWithETag) Method

Definition

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

public static Microsoft.Azure.Search.Models.AccessCondition IfNotChanged (Microsoft.Azure.Search.Models.IResourceWithETag resource);
static member IfNotChanged : Microsoft.Azure.Search.Models.IResourceWithETag -> Microsoft.Azure.Search.Models.AccessCondition
Public Shared Function IfNotChanged (resource As IResourceWithETag) As AccessCondition

Parameters

resource
IResourceWithETag

A resource with an ETag value to check against the resource's ETag.

Returns

An AccessCondition object that represents the If-Match condition.

Applies to