IWebCloudService.GetMetrics 方法

命名空间:  Microsoft.Web.Hosting.Administration
程序集:  Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)

语法

声明
<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
用法
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
)

参数

返回值

类型:Microsoft.Web.Hosting.Administration.MetricSets

另请参阅

引用

IWebCloudService 接口

IWebCloudService 成员

Microsoft.Web.Hosting.Administration 命名空间