IPrincipalOperations.AddAsync 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.
Adds a list of principals to the given collection.
public System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalOperationsResult> AddAsync (string collectionName, Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalList securityPrincipalList, System.Threading.CancellationToken cancellationToken);
abstract member AddAsync : string * Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalList * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.WindowsAzure.Management.RemoteApp.Models.SecurityPrincipalOperationsResult>
Public Function AddAsync (collectionName As String, securityPrincipalList As SecurityPrincipalList, cancellationToken As CancellationToken) As Task(Of SecurityPrincipalOperationsResult)
Parameters
- collectionName
- String
The RemoteApp collection name.
- securityPrincipalList
- SecurityPrincipalList
A list of RemoteApp principals to add.
- cancellationToken
- CancellationToken
Cancellation token.
Returns
The response for the collection user operation.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET