Share via


IWebCloudService.GetMetrics method

Namespace:  Microsoft.Web.Hosting.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
<WebGetAttribute(UriTemplate := "subscriptions/{subscriptionName}/webspaces/{webspaceName}/sites/{name}/metrics?names={metrics}&startTime={startTime}&endTime={endTime}")> _
Function GetMetrics ( _
    subscriptionName As String, _
    webspaceName As String, _
    name As String, _
    metrics As String, _
    startTime As String, _
    endTime As String _
) As MetricSets
'Usage
Dim instance As IWebCloudService
Dim subscriptionName As String
Dim webspaceName As String
Dim name As String
Dim metrics As String
Dim startTime As String
Dim endTime As String
Dim returnValue As MetricSets

returnValue = instance.GetMetrics(subscriptionName, _
    webspaceName, name, metrics, startTime, _
    endTime)
[WebGetAttribute(UriTemplate = "subscriptions/{subscriptionName}/webspaces/{webspaceName}/sites/{name}/metrics?names={metrics}&startTime={startTime}&endTime={endTime}")]
MetricSets GetMetrics(
    string subscriptionName,
    string webspaceName,
    string name,
    string metrics,
    string startTime,
    string endTime
)

Parameters

Return value

Type: Microsoft.Web.Hosting.Administration.MetricSets

See also

Reference

IWebCloudService interface

IWebCloudService members

Microsoft.Web.Hosting.Administration namespace