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 | |
---|---|---|
DbSyncScope() | Initializes a new instance of the DbSyncScope class by using default values. | |
DbSyncScope(String) | Initializes a new instance of the DbSyncScope class by using a scope name parameter. |
Top
Properties
Name | Description | |
---|---|---|
ForgottenKnowledge | Gets or sets a SyncKnowledge object that represents the forgotten knowledge associated with the scope. | |
Name | Gets or sets the name of the DbSyncScope object. | |
SyncKnowledge | Gets or sets a SyncKnowledge object that represents the knowledge associated with the scope. | |
Tables | Gets or sets a collection of SyncTableInfo objects that correspond to the DbSyncAdapter objects associated with the DbSyncProvider. | |
Timestamp | Gets or sets the timestamp that is associated with cleanup of knowledge. |
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 | 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.