Partager via


IsSnapshotRequired méthode

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

Espace de noms :  Microsoft.SqlServer.Replication
Assembly :  Microsoft.SqlServer.Replication (dans Microsoft.SqlServer.Replication.dll)

Syntaxe

'Déclaration
Public Overridable Function IsSnapshotRequired As Boolean
'Utilisation
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

Valeur de retour

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

Implémente

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

Notes

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