/// <summary>
 /// Unregisters the preview feature for the subscription.
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='resourceProviderNamespace'>
 /// The namespace of the resource provider.
 /// </param>
 /// <param name='featureName'>
 /// The name of the feature to unregister.
 /// </param>
 public static FeatureResult Unregister(this IFeaturesOperations operations, string resourceProviderNamespace, string featureName)
 {
     return(operations.UnregisterAsync(resourceProviderNamespace, featureName).GetAwaiter().GetResult());
 }