共用方式為


TransSynchronizationAgent.IsSnapshotRequired 方法

Connects to the 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 TransSynchronizationAgent 
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
true if a new snapshot will be applied; otherwise, false.

實作

ITransSynchronizationAgent.IsSnapshotRequired()

備註

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

請參閱

參考

TransSynchronizationAgent 類別

Microsoft.SqlServer.Replication 命名空間