ReplicaMetadata.GetItemCount Method
When overridden in a derived class, gets the total number of items in the metadata store and the number of deleted items in the metadata store.
Namespace: Microsoft.Synchronization.MetadataStorage
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
Syntax
'Declaration
Public MustOverride Sub GetItemCount ( _
<OutAttribute> ByRef totalItemCount As UInteger, _
<OutAttribute> ByRef deletedItemCount As UInteger _
)
'Usage
Dim instance As ReplicaMetadata
Dim totalItemCount As UInteger
Dim deletedItemCount As UInteger
instance.GetItemCount(totalItemCount, _
deletedItemCount)
public abstract void GetItemCount(
out uint totalItemCount,
out uint deletedItemCount
)
public:
virtual void GetItemCount(
[OutAttribute] unsigned int% totalItemCount,
[OutAttribute] unsigned int% deletedItemCount
) abstract
abstract GetItemCount :
totalItemCount:uint32 byref *
deletedItemCount:uint32 byref -> unit
public abstract function GetItemCount(
totalItemCount : uint,
deletedItemCount : uint
)
Parameters
- totalItemCount
Type: System.UInt32%
Returns the total number of items in the metadata store, including deleted items.
- deletedItemCount
Type: System.UInt32%
Returns the number of deleted items in the metadata store.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The object has been disposed or was not initialized correctly. |