Metodo IsSnapshotRequired

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

Spazio dei nomi  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (in Microsoft.SqlServer.Replication.dll)

Sintassi

'Dichiarazione
Public Overridable Function IsSnapshotRequired As Boolean
'Utilizzo
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

Valore restituito

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

Implementa

IMergeSynchronizationAgent. . :: . .IsSnapshotRequired() () () ()

Osservazioni

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