/// <summary> /// Refreshes the share metadata with the data from the cloud. /// </summary> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='deviceName'> /// The device name. /// </param> /// <param name='name'> /// The share name. /// </param> /// <param name='resourceGroupName'> /// The resource group name. /// </param> public static void BeginRefresh(this ISharesOperations operations, string deviceName, string name, string resourceGroupName) { operations.BeginRefreshAsync(deviceName, name, resourceGroupName).GetAwaiter().GetResult(); }