Share via


SimpleSyncServices.EndRemoveItemsFromReplica Method

Ends a transaction in which items were removed by calling RemoveItemFromReplica.

Namespace:  Microsoft.Synchronization.SimpleProviders
Assembly:  Microsoft.Synchronization.SimpleProviders (in Microsoft.Synchronization.SimpleProviders.dll)

Syntax

'Declaration
Public Sub EndRemoveItemsFromReplica
'Usage
Dim instance As SimpleSyncServices

instance.EndRemoveItemsFromReplica()
public void EndRemoveItemsFromReplica()
public:
void EndRemoveItemsFromReplica()
member EndRemoveItemsFromReplica : unit -> unit 
public function EndRemoveItemsFromReplica()

Exceptions

Exception Condition
SimpleProviderInvalidOperationException

A transaction was not started by calling BeginRemoveItemsFromReplica.

Remarks

When a transaction was already active in the metadata store when BeginRemoveItemsFromReplica was called, this method does not end or commit the transaction. Otherwise, the transaction started by the call to BeginRemoveItemsFromReplica is ended and committed.

See Also

Reference

SimpleSyncServices Class

Microsoft.Synchronization.SimpleProviders Namespace