Udostępnij za pośrednictwem


UserDiskOperationsExtensions.Copy Method

Definition

Copy user disk from one collection to the other and keep the source user disk.

public static Microsoft.Azure.AzureOperationResponse Copy (this Microsoft.WindowsAzure.Management.RemoteApp.IUserDiskOperations operations, string srcCollectionName, string dstCollectionName, string userUpn, bool overwriteExistingUserDisk);
static member Copy : Microsoft.WindowsAzure.Management.RemoteApp.IUserDiskOperations * string * string * string * bool -> Microsoft.Azure.AzureOperationResponse
<Extension()>
Public Function Copy (operations As IUserDiskOperations, srcCollectionName As String, dstCollectionName As String, userUpn As String, overwriteExistingUserDisk As Boolean) As AzureOperationResponse

Parameters

operations
IUserDiskOperations

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

srcCollectionName
String

Required. The source collection name.

dstCollectionName
String

Required. The destination collection name.

userUpn
String

Required. The user upn.

overwriteExistingUserDisk
Boolean

Required. A flag denoting if the request is to overwrite the existing user disk

Returns

Microsoft.Azure.AzureOperationResponse

A standard service response including an HTTP status code and request ID.

Applies to