Dela via


CollectionOperationsExtensions.CreateAsync Method

Definition

Creates a collection with the given details.

public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> CreateAsync (this Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations operations, bool populateOnly, Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionCreationDetails collectionDetails);
static member CreateAsync : Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations * bool * Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionCreationDetails -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId>
<Extension()>
Public Function CreateAsync (operations As ICollectionOperations, populateOnly As Boolean, collectionDetails As CollectionCreationDetails) As Task(Of OperationResultWithTrackingId)

Parameters

operations
ICollectionOperations

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

populateOnly
Boolean

Required. A flag denoting if the request is to populate the creation details of the collection or update and deploy (true for populate only).

collectionDetails
CollectionCreationDetails

Required. Details for the collection to be created.

Returns

The response containing the operation tracking id.

Applies to