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 | |
---|---|---|
EndTime | Gets or sets the date and time at which the snapshot initialization process ended. | |
StartTime | Gets or sets the date and time at which the snapshot initialization process started. | |
TablesInitialized | Gets or sets the total number of tables that were initialized for the scope. | |
TotalTables | Gets the total number of tables in the scope. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.