Udostępnij za pośrednictwem


UserDiskOperationsExtensions.Migrate Method

Definition

Migrate user disks of all the users from a collection to the specified azure storage account

public static Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId Migrate (this Microsoft.WindowsAzure.Management.RemoteApp.IUserDiskOperations operations, string collectionName, string targetAccountName, string targetAccountKey, string targetContainerName, bool overwriteExistingUserDisk);
static member Migrate : Microsoft.WindowsAzure.Management.RemoteApp.IUserDiskOperations * string * string * string * string * bool -> Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId
<Extension()>
Public Function Migrate (operations As IUserDiskOperations, collectionName As String, targetAccountName As String, targetAccountKey As String, targetContainerName As String, overwriteExistingUserDisk As Boolean) As OperationResultWithTrackingId

Parameters

operations
IUserDiskOperations

Reference to the Microsoft.WindowsAzure.Management.RemoteApp.IUserDiskOperations.

collectionName
String

Required. The collection name.

targetAccountName
String

Required. The destination storage account name

targetAccountKey
String

Required. The destination storage account key

targetContainerName
String

Required. The destination container name

overwriteExistingUserDisk
Boolean

Required. A flag denoting if the request is to overwrite the existing user disk in the destination storage account

Returns

The response containing the operation tracking id.

Applies to