AccessCondition.GenerateIfExistsCondition Method

Definition

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

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

Returns

AccessCondition

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.

Applies to