CollectionOperationsExtensions.SetAsync 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.
Sets a new information to the collection with given id.
public static System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId> SetAsync (this Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations operations, string collectionName, bool forceRedeploy, bool populateOnly, Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionUpdateDetails collectionDetails);
static member SetAsync : Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations * string * bool * bool * Microsoft.WindowsAzure.Management.RemoteApp.Models.CollectionUpdateDetails -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.OperationResultWithTrackingId>
<Extension()>
Public Function SetAsync (operations As ICollectionOperations, collectionName As String, forceRedeploy As Boolean, populateOnly As Boolean, collectionDetails As CollectionUpdateDetails) As Task(Of OperationResultWithTrackingId)
Parameters
- operations
- ICollectionOperations
Reference to the Microsoft.WindowsAzure.Management.RemoteApp.ICollectionOperations.
- collectionName
- String
Required. The name of the collection.
- forceRedeploy
- Boolean
Required. A flag denoting if the request is to re-deploy the collection after it is updated.
- populateOnly
- Boolean
Required. A flag denoting if the request is to populate the collection details(true for populate only).
- collectionDetails
- CollectionUpdateDetails
Required. Details for the collection to be updated.
Returns
The response containing the operation tracking id.
Applies to
Azure SDK for .NET