SALES: 1-800-867-1380
0 out of 4 rated this helpful - Rate this topic

TableOperation.InsertOrReplace Method

Updated: September 11, 2013

[This topic is part of the Windows Azure Storage Client Library 2.1. The current recommended version is Storage Client Library 3.0.]

Creates a new table operation that inserts the given entity into a table if the entity does not exist; if the entity does exist then its contents are replaced with the provided entity.

Namespace: Microsoft.WindowsAzure.Storage.Table
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
'Usage
Dim entity As ITableEntity
Dim returnValue As TableOperation

returnValue = TableOperation.InsertOrReplace(entity)
'Declaration
Public Shared Function InsertOrReplace ( _
	entity As ITableEntity _
) As TableOperation

Parameters

entity

The entity whose contents are being inserted or replaced.

Return Value

The table operation.
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7 and Windows Server 2008

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.