MetricsProperties.RetentionDays Property

Windows Runtime Azure Storage Client Library

Gets or sets the logging retention policy.

Namespace: Microsoft.WindowsAzure.Storage.Shared.Protocol
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.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#
/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public Nullable<int> get_RetentionDays ()

/** @property */
/** @attribute CompilerGeneratedAttribute() */ 
public void set_RetentionDays (Nullable<int> value)
JScript
CompilerGeneratedAttribute 
public function get RetentionDays () : Nullable<int>

CompilerGeneratedAttribute 
public function set RetentionDays (value : Nullable<int>)

Property Value

The number of days to retain the logs.

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