共用方式為


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 命名空間