共用方式為


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.