CloudBlockBlob.SnapshotTime Property

Windows Runtime Azure Storage Client Library

Gets the date and time that the blob snapshot was taken, if this blob is a snapshot.

Namespace: Microsoft.WindowsAzure.Storage.Blob
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As CloudBlockBlob
Dim value As Nullable(Of DateTimeOffset)

value = instance.SnapshotTime

Syntax

Visual Basic
Public Property SnapshotTime As Nullable(Of DateTimeOffset)
C#
public Nullable<DateTimeOffset> SnapshotTime { get; }
C++
public:
virtual property Nullable<DateTimeOffset> SnapshotTime {
	Nullable<DateTimeOffset> get () sealed;
}
J#
/** @property */
public final Nullable<DateTimeOffset> get_SnapshotTime ()
JScript
public final function get SnapshotTime () : Nullable<DateTimeOffset>

Property Value

A DateTimeOffset containing the blob's snapshot time if the blob is a snapshot; otherwise, null.

Remarks

If the blob is not a snapshot, the value of this property is null.


Thread Safety

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

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also