DataEngine for .NET Standard | ComponentOne
C1.DataEngine.Api Assembly / C1.DataEngine Namespace / QueryFactory Class / Delete Method
The C1DataEngine Workspace object containing the queries to be deleted.
The base name of the query to be deleted.

In This Topic
    Delete Method
    In This Topic
    Deletes a C1DataEngine query and any dependencies created by this module.
    Syntax
    'Declaration
     
    Public Shared Sub Delete( _
       ByVal workspace As Workspace, _
       ByVal name As String _
    ) 
    public static void Delete( 
       Workspace workspace,
       string name
    )

    Parameters

    workspace
    The C1DataEngine Workspace object containing the queries to be deleted.
    name
    The base name of the query to be deleted.
    Remarks

    When this module creates a named query containing join and/or range elements, one or more internal queries are created, and the named query derives from those. Use this method to delete a named query and all of its dependencies.

    See Also