DeleteSectionAccessTable Method
Overloads
| DeleteSectionAccessTable(Guid) | 
             Removes a single SectionAccessTable.  | 
        
      
    
DeleteSectionAccessTable(Guid)
Removes a single SectionAccessTable.
Declaration
      void DeleteSectionAccessTable(Guid tableId)
    
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Guid | tableId | 
           The ID of the table to remove.  | 
      
Remarks
security
Requires membership of local groups QlikView Management API and QlikView Administrator.
Examples
The following example deletes a known section access table.
The service key injection is assumed to be handled behind the scenes. For an example of how to inject the service key, see Samples.
    using System;
using System.Collections.Generic;
using System.Linq;
using QMSAPI;
class Program
{
    static void Main(string[] args)
    {
        try
        {
            // create a QMS API client
            IQMS apiClient = new QMSClient();
            //retrieve a time limited service key
            ServiceKeyClientMessageInspector.ServiceKey = apiClient.GetTimeLimitedServiceKey();
            //Remove a section access table.
            apiClient.DeleteSectionAccessTable(new Guid("12a32214-1122-112a-8099-8765ce564112"));
        }
        catch (Exception ex)
        {
            Console.WriteLine("An exception occurred: " + ex.Message);
        }
        // wait for user to press any key
        Console.ReadLine();
    }
}