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