Share via


DbSyncScope Class

Represents a logical grouping of objects to be synchronized.

Inheritance Hierarchy

System.Object
  Microsoft.Synchronization.Data.DbSyncScope

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

Syntax

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

The DbSyncScope type exposes the following members.

Constructors

  Name Description
Public method DbSyncScope() Initializes a new instance of the DbSyncScope class by using default values.
Public method DbSyncScope(String) Initializes a new instance of the DbSyncScope class by using a scope name parameter.

Top

Properties

  Name Description
Public property ForgottenKnowledge Gets or sets a SyncKnowledge object that represents the forgotten knowledge associated with the scope.
Public property Name Gets or sets the name of the DbSyncScope object.
Public property SyncKnowledge Gets or sets a SyncKnowledge object that represents the knowledge associated with the scope.
Public property Tables Gets or sets a collection of SyncTableInfo objects that correspond to the DbSyncAdapter objects associated with the DbSyncProvider.
Public property Timestamp Gets or sets the timestamp that is associated with cleanup of knowledge.

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 Returns a string that represents the DbSyncScope object. (Overrides Object.ToString().)

Top

Remarks

For database synchronization, a scope is a set of tables. For more information about how scopes are used, see in How to: Provision a Server Database for Collaborative Synchronization (Non-SQL Server) and 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