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
)
参数
- subscriptionName
类型:System.String
- webspaceName
类型:System.String
- name
类型:System.String
- metrics
类型:System.String
- startTime
类型:System.String
- endTime
类型:System.String
返回值
类型:Microsoft.Web.Hosting.Administration.MetricSets