Partilhar 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.

Namespace: Microsoft.SqlServer.Replication
Assembly: Microsoft.SqlServer.Replication (in microsoft.sqlserver.replication.dll)

Syntax

'Declaration
Public Overridable Function IsSnapshotRequired As Boolean
public virtual bool IsSnapshotRequired ()
public:
virtual bool IsSnapshotRequired ()
public boolean IsSnapshotRequired ()
public function IsSnapshotRequired () : boolean

Return Value

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

Remarks

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

Thread Safety

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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

TransSynchronizationAgent Class
TransSynchronizationAgent Members
Microsoft.SqlServer.Replication Namespace