Example #1
0
        /// <param name='operations'>
        /// Reference to the DataExportSales.IProfiles.
        /// </param>
        /// <param name='id'>
        /// Required. Profile Id
        /// </param>
        /// <param name='cancellationToken'>
        /// Cancellation token.
        /// </param>
        public static async Task <object> ActivateDataAsync(this IProfiles operations, string id, CancellationToken cancellationToken = default(System.Threading.CancellationToken))
        {
            Microsoft.Rest.HttpOperationResponse <object> result = await operations.ActivateDataWithOperationResponseAsync(id, cancellationToken).ConfigureAwait(false);

            return(result.Body);
        }