AccountsOperationsExtensions.AddRootCollectionAdminAsync 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.
Add the administrator for root collection.
public static System.Threading.Tasks.Task AddRootCollectionAdminAsync (this Microsoft.Azure.Management.Purview.IAccountsOperations operations, string resourceGroupName, string accountName, Microsoft.Azure.Management.Purview.Models.CollectionAdminUpdate collectionAdminUpdate, System.Threading.CancellationToken cancellationToken = default);
static member AddRootCollectionAdminAsync : Microsoft.Azure.Management.Purview.IAccountsOperations * string * string * Microsoft.Azure.Management.Purview.Models.CollectionAdminUpdate * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function AddRootCollectionAdminAsync (operations As IAccountsOperations, resourceGroupName As String, accountName As String, collectionAdminUpdate As CollectionAdminUpdate, Optional cancellationToken As CancellationToken = Nothing) As Task
Parameters
- operations
- IAccountsOperations
The operations group for this extension method.
- resourceGroupName
- String
The resource group name.
- accountName
- String
The name of the account.
- collectionAdminUpdate
- CollectionAdminUpdate
The collection admin update payload.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Add the administrator for root collection associated with this account.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET