AccessCondition.IfNotChanged(IResourceWithETag) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET