IUserDiskOperations.CopyAsync 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 System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> CopyAsync (string srcCollectionName, string dstCollectionName, string userUpn, bool overwriteExistingUserDisk, System.Threading.CancellationToken cancellationToken);
abstract member CopyAsync : string * string * string * bool * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function CopyAsync (srcCollectionName As String, dstCollectionName As String, userUpn As String, overwriteExistingUserDisk As Boolean, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)
Parameters
- srcCollectionName
- String
The source collection name.
- dstCollectionName
- String
The destination collection name.
- userUpn
- String
The user upn.
- overwriteExistingUserDisk
- Boolean
A flag denoting if the request is to overwrite the existing user disk
- cancellationToken
- CancellationToken
Cancellation token.
Returns
Task<Microsoft.Azure.AzureOperationResponse>
A standard service response including an HTTP status code and request ID.
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.