MergeSynchronizationAgent.IsSnapshotRequired 方法

Connects to the Publisher or Distributor and the Subscriber to determine whether a new snapshot will be applied during the next agent synchronization.

命名空间:  Microsoft.SqlServer.Replication
程序集:  Microsoft.SqlServer.Replication(在 Microsoft.SqlServer.Replication.dll 中)

语法

声明
Public Overridable Function IsSnapshotRequired As Boolean
用法
Dim instance As MergeSynchronizationAgent 
Dim returnValue As Boolean 

returnValue = instance.IsSnapshotRequired()
public virtual bool IsSnapshotRequired()
public:
virtual bool IsSnapshotRequired()
abstract IsSnapshotRequired : unit -> bool  
override IsSnapshotRequired : unit -> bool
public function IsSnapshotRequired() : boolean

返回值

类型:System.Boolean
A Boolean value that indicates whether a new snapshot will be applied.

实现

IMergeSynchronizationAgent.IsSnapshotRequired()

注释

If IsSnapshotRequired returns true, a new snapshot will be applied; and if it returns false, a new snapshot will not be applied.

请参阅

参考

MergeSynchronizationAgent 类

Microsoft.SqlServer.Replication 命名空间