Partager via


TransSynchronizationAgent.IsSnapshotRequired Method

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 (in microsoft.sqlserver.replication.dll)

Syntaxe

'Déclaration
Public Overridable Function IsSnapshotRequired As Boolean
public virtual bool IsSnapshotRequired ()
public:
virtual bool IsSnapshotRequired ()
public boolean IsSnapshotRequired ()
public function IsSnapshotRequired () : boolean

Valeur de retour

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

Notes

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

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

TransSynchronizationAgent Class
TransSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace