Sdílet prostřednictvím


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 ()
public void BeginRemoveItemsFromReplica ()
public function BeginRemoveItemsFromReplica ()

Exceptions

Exception type 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
SimpleSyncServices Members
Microsoft.Synchronization.SimpleProviders Namespace