UserDiskOperationsExtensions.Copy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
A standard service response including an HTTP status code and request ID.
Applies to
Azure SDK for .NET