Compartilhar via


Método TransSynchronizationAgent.IsSnapshotRequired

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

Namespace:  Microsoft.SqlServer.Replication
Assembly:  Microsoft.SqlServer.Replication (em Microsoft.SqlServer.Replication.dll)

Sintaxe

'Declaração
Public Overridable Function IsSnapshotRequired As Boolean
'Uso
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

Valor de retorno

Tipo: System.Boolean
true if a new snapshot will be applied; otherwise, false.

Implementa

ITransSynchronizationAgent.IsSnapshotRequired()

Comentários

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

Consulte também

Referência

TransSynchronizationAgent Classe

Namespace Microsoft.SqlServer.Replication