MetricsProperties.RetentionDays Property

Storage Client Library NET API

[This topic is part of the Microsoft Azure Storage Client Library 1.7, which has been deprecated. See Storage Client Library for the latest version.]

Gets the number of days to retain data for metrics.

Namespace: Microsoft.WindowsAzure.StorageClient.Protocol
Assembly: Microsoft.WindowsAzure.StorageClient (in Microsoft.WindowsAzure.StorageClient.dll)

Usage

Visual Basic
Dim instance As MetricsProperties
Dim value As Nullable(Of Integer)

value = instance.RetentionDays

instance.RetentionDays = value

Syntax

Visual Basic
Public Property RetentionDays As Nullable(Of Integer)
C#
public Nullable<int> RetentionDays { get; set; }
C++
public:
property Nullable<int> RetentionDays {
	Nullable<int> get ();
	void set (Nullable<int> value);
}
J#
JScript

Property Value

Returns a Int32 object that indicates the number of days to store metrics for the storage service..

Remarks

For more details about this API, see the topics on the equivalent REST APIs in See Also > Other Resources.


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

See Also