Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
When overridden in a derived class, reports that the specified item is active and should not be considered deleted.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in microsoft.synchronization.metadatastorage.dll)
Syntax
'Declaration
Public MustOverride Sub ReportLiveItemById ( _
globalId As SyncId _
)
'Usage
Dim instance As DeleteDetector
Dim globalId As SyncId
instance.ReportLiveItemById(globalId)
public abstract void ReportLiveItemById (
SyncId globalId
)
public:
virtual void ReportLiveItemById (
SyncId^ globalId
) abstract
public abstract void ReportLiveItemById (
SyncId globalId
)
public abstract function ReportLiveItemById (
globalId : SyncId
)
Parameters
- globalId
The ID of the item to report as active.
Exceptions
Exception type | Condition |
---|---|
globalId is a null reference (Nothing in Visual Basic). |
|
The format of globalId does not match the format that is specified by the ID format schema for the replica. |
|
No item was found with the specified ID. |
Remarks
This method notifies DeleteDetector that an item was found in the store.
For the implementation that is available through SqlMetadataStore, this method only has to be called on unmodified items because SaveItemMetadata implicitly marks updated items as live.
See Also
Reference
DeleteDetector Class
DeleteDetector Members
Microsoft.Synchronization.MetadataStorage Namespace