Condividi tramite


AccessCondition.GenerateIfExistsCondition Method

Definition

Constructs an access condition such that an operation will be performed only if the resource exists.

public static Microsoft.Azure.Search.Models.AccessCondition GenerateIfExistsCondition ();
static member GenerateIfExistsCondition : unit -> Microsoft.Azure.Search.Models.AccessCondition
Public Shared Function GenerateIfExistsCondition () As AccessCondition

Returns

An AccessCondition object that represents a condition where a resource exists.

Remarks

Setting this access condition modifies the request to include the HTTP If-Match conditional header set to "*".

Applies to