IsSnapshotRequired-Methode

Stellt eine Verbindung mit dem Verteiler und dem Abonnenten her, um zu bestimmen, ob während der nächsten Agent-Synchronisierung eine neue Momentaufnahme angewendet wird.

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

Syntax

'Declaration
Public Overridable Function IsSnapshotRequired As Boolean
'Usage
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

Rückgabewert

Typ: System. . :: . .Boolean
Ein Boolean-Wert, der angibt, ob eine neue Momentaufnahme angewendet wird.

Implementiert

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

Hinweise

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