Udostępnij za pośrednictwem


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

Exceptions

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