Share via


WebSiteGetHistoricalUsageMetricsParameters.SlotView Property

Optional. Flag which specifies if the metrics returned should reflect slot swaps. Let's take for example following case: if production slot has hostname www.contos.com and take traffic for 12 hours and later is swapped with staging slot. Getting metrics with SlotView=false will reflect the swap - e.g. there will be a increase on the staging slot metrics after it goes to production.If SlotView=true is used it will show the metrics for the www.contoso.com regardless which slot was serving at the moment.

Namespace: Microsoft.WindowsAzure.Management.WebSites.Models
Assembly: Microsoft.WindowsAzure.Management.WebSites (in Microsoft.WindowsAzure.Management.WebSites.dll)

Usage

'Usage
Dim instance As WebSiteGetHistoricalUsageMetricsParameters
Dim value As Boolean

value = instance.SlotView

instance.SlotView = value

Syntax

'Declaration
Public Property SlotView As Boolean
public bool SlotView { get; set; }
public:
property bool SlotView {
    bool get ();
    void set (bool value);
}
/** @property */
public boolean get_SlotView ()

/** @property */
public void set_SlotView (boolean value)
public function get SlotView () : boolean

public function set SlotView (value : boolean)

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

Reference

WebSiteGetHistoricalUsageMetricsParameters Class
WebSiteGetHistoricalUsageMetricsParameters Members
Microsoft.WindowsAzure.Management.WebSites.Models Namespace