Share via


MergePartition.CurrentSnapshotDateTime Property

Gets or sets the date and time when the data snapshot of the partition was generated.

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

Syntax

'Declaration
Public Property CurrentSnapshotDateTime As DateTime
public DateTime CurrentSnapshotDateTime { get; set; }
public:
property DateTime CurrentSnapshotDateTime {
    DateTime get ();
    void set (DateTime value);
}
/** @property */
public DateTime get_CurrentSnapshotDateTime ()

/** @property */
public void set_CurrentSnapshotDateTime (DateTime value)
public function get CurrentSnapshotDateTime () : DateTime

public function set CurrentSnapshotDateTime (value : DateTime)

Property Value

A DateTime value.

Remarks

Before the data snapshot has been generated, the value of CurrentSnapshotDateTime is 0, which translates to the date "1/1/0001 12:00 am".

This property can be retrieved or set by any user.

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

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

MergePartition Class
MergePartition Members
Microsoft.SqlServer.Replication Namespace