MetricsClient 构造函数 (SubscriptionCloudCredentials)

Initializes a new instance of the MetricsClient class.

命名空间: Microsoft.WindowsAzure.Management.Monitoring.Metrics
程序集: Microsoft.WindowsAzure.Management.Monitoring(在 Microsoft.WindowsAzure.Management.Monitoring.dll 中)

使用

用法
Dim credentials As SubscriptionCloudCredentials

Dim instance As New MetricsClient(credentials)

语法

声明
Public Sub New ( _
    credentials As SubscriptionCloudCredentials _
)
public MetricsClient (
    SubscriptionCloudCredentials credentials
)
public:
MetricsClient (
    SubscriptionCloudCredentials^ credentials
)
public MetricsClient (
    SubscriptionCloudCredentials credentials
)
public function MetricsClient (
    credentials : SubscriptionCloudCredentials
)

参数

  • credentials
    Required. Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

备注

平台

开发平台

Windows Vista、Windows 7 和 Windows Server 2008

目标平台

另请参阅

参考

MetricsClient 类
MetricsClient 成员
Microsoft.WindowsAzure.Management.Monitoring.Metrics 命名空间