Share via


SimpleSyncServices.BeginRemoveItemsFromReplica Method

Starts a transaction in which items can be removed by calling RemoveItemFromReplica. This method must be called before RemoveItemFromReplica is called.

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

Syntax

'Declaration
Public Sub BeginRemoveItemsFromReplica
'Usage
Dim instance As SimpleSyncServices

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

Exceptions

Exception Condition
SimpleProviderInvalidOperationException

This method has already been called, and the transaction has not been ended by calling EndRemoveItemsFromReplica.

Remarks

When a transaction is already active in the metadata store, this method does not start a new transaction.

See Also

Reference

SimpleSyncServices Class

Microsoft.Synchronization.SimpleProviders Namespace