/// <summary> /// Updates source control token /// </summary> /// <remarks> /// Updates source control token /// </remarks> /// <param name='operations'> /// The operations group for this extension method. /// </param> /// <param name='sourceControlType'> /// Type of source control /// </param> /// <param name='requestMessage'> /// Source control token information /// </param> public static SourceControl UpdateSourceControl(this IWebSiteManagementClient operations, string sourceControlType, SourceControl requestMessage) { return(operations.UpdateSourceControlAsync(sourceControlType, requestMessage).GetAwaiter().GetResult()); }