Compartir a través de


MergePartition.CurrentSnapshotDateTime Propiedad

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

Espacio de nombres:  Microsoft.SqlServer.Replication
Ensamblado:  Microsoft.SqlServer.Rmo (en Microsoft.SqlServer.Rmo.dll)

Sintaxis

'Declaración
Public Property CurrentSnapshotDateTime As DateTime 
    Get 
    Set
'Uso
Dim instance As MergePartition 
Dim value As DateTime 

value = instance.CurrentSnapshotDateTime

instance.CurrentSnapshotDateTime = value
public DateTime CurrentSnapshotDateTime { get; set; }
public:
property DateTime CurrentSnapshotDateTime {
    DateTime get ();
    void set (DateTime value);
}
member CurrentSnapshotDateTime : DateTime with get, set
function get CurrentSnapshotDateTime () : DateTime 
function set CurrentSnapshotDateTime (value : DateTime)

Valor de la propiedad

Tipo: System.DateTime
A DateTime value.

Comentarios

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.

Vea también

Referencia

MergePartition Clase

Espacio de nombres Microsoft.SqlServer.Replication