Share via


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
public abstract void GetItemCount (
    /** @attribute OutAttribute() */ /** @ref */ UInt32 totalItemCount, 
    /** @attribute OutAttribute() */ /** @ref */ UInt32 deletedItemCount
)
JScript does not support passing value-type arguments by reference.

Parameters

  • totalItemCount
    Returns the total number of items in the metadata store, including deleted items.
  • deletedItemCount
    Returns the number of deleted items in the metadata store.

Exceptions

Exception type Condition

ObjectDisposedException

The object has been disposed or was not initialized correctly.

See Also

Reference

ReplicaMetadata Class
ReplicaMetadata Members
Microsoft.Synchronization.MetadataStorage Namespace