Url_DeleteDatasourceTag() public method

URL for deleting a tag from a datasource
public Url_DeleteDatasourceTag ( TableauServerSignIn, session, string datasourceId, string tagText ) : string
session TableauServerSignIn,
datasourceId string
tagText string Tag we want to delete
return string
コード例 #1
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="datasourceId"></param>
 /// <param name="tagText"></param>
 private void DeleteTagFromContent(string datasourceId, string tagText)
 {
     //Create a web request
     var urlDeleteContentTag = _onlineUrls.Url_DeleteDatasourceTag(_onlineSession, datasourceId, tagText);
     var webRequest          = this.CreateLoggedInWebRequest(urlDeleteContentTag, "DELETE");
     var response            = GetWebReponseLogErrors(webRequest, "delete tag from content request");
 }
コード例 #2
0
    /// <summary>
    ///
    /// </summary>
    /// <param name="datasourceId"></param>
    /// <param name="tagText"></param>
    private bool DeleteTagFromContent(string datasourceId, string tagText)
    {
        //Create a web request
        var urlRequest = _onlineUrls.Url_DeleteDatasourceTag(_onlineSession, datasourceId, tagText);

        //var webRequest = this.CreateLoggedInWebRequest(urlRequest, "DELETE");
        //var response = GetWebReponseLogErrors(webRequest, "delete tag from content request");

        return(ResourceSafe_PerformWebRequestResponseLogErrors(
                   urlRequest,
                   "delete tag from content request",
                   "DELETE"));
    }