Click or drag to resize
IQMSDeleteSectionAccessTable Method
Removes a single SectionAccessTable.

Namespace: PIX.Services.V12
Assembly: 
Syntax
void DeleteSectionAccessTable(
	Guid tableId
)

Parameters

tableId
Type: SystemGuid
The ID of the table to remove.
Remarks
Security note Security Note

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.

C#
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();
    }
}
See Also