ManagementDiscoveryExtensions.CreateManagementClient Method (CloudClients, SubscriptionCloudCredentials)

Creates a client for the extension.

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

'Usage
Dim clients As CloudClients
Dim credentials As SubscriptionCloudCredentials
Dim returnValue As ManagementClient

returnValue = ManagementDiscoveryExtensions.CreateManagementClient(clients, credentials)

[ExtensionAttribute] 
public static ManagementClient CreateManagementClient (
	CloudClients clients,
	SubscriptionCloudCredentials credentials
)
/** @attribute ExtensionAttribute() */ 
public static ManagementClient CreateManagementClient (
	CloudClients clients, 
	SubscriptionCloudCredentials credentials
)
ExtensionAttribute 
public static function CreateManagementClient (
	clients : CloudClients, 
	credentials : SubscriptionCloudCredentials
) : ManagementClient

Parameters

clients

The CloudClients object.

credentials

The SubscriptionCloudCredentials object.

Return Value

A ManagementClient object.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

Show: