Delen via


AccessCondition.GenerateIfNotExistsCondition Method

Definition

Constructs an access condition such that an operation will be performed only if the resource does not exist.

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

Returns

An AccessCondition object that represents a condition where a resource does not exist.

Remarks

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

Applies to