Поделиться через


Метод 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
A Boolean value that indicates whether a new snapshot will be applied.

Реализует

ITransSynchronizationAgent. . :: . .IsSnapshotRequired() () () ()

Замечания

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