DbSnapshotInitializationStatistics Class

Represents a set of session-level statistics about the snapshot initialization of a client database.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.DbSnapshotInitializationStatistics

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public Class DbSnapshotInitializationStatistics
'Usage
Dim instance As DbSnapshotInitializationStatistics
[SerializableAttribute]
public class DbSnapshotInitializationStatistics
[SerializableAttribute]
public ref class DbSnapshotInitializationStatistics
[<SerializableAttribute>]
type DbSnapshotInitializationStatistics =  class end
public class DbSnapshotInitializationStatistics

The DbSnapshotInitializationStatistics type exposes the following members.

Properties

  Name Description
Public property EndTime Gets or sets the date and time at which the snapshot initialization process ended.
Public property StartTime Gets or sets the date and time at which the snapshot initialization process started.
Public property TablesInitialized Gets or sets the total number of tables that were initialized for the scope.
Public property TotalTables Gets the total number of tables in the scope.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Remarks

Snapshot initialization is designed to reduce the time required to initialize a client database. After one client database has been initialized by using full initialization, subsequent databases can be initialized by using a snapshot of this first client database. A snapshot is a specially-prepared SQL Server Compact database that contains table schema, data (optional), and change-tracking infrastructure. For more information, see How To: Execute Database Synchronization (SQL Server).

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Synchronization.Data Namespace