Remove

Overview 

Removes a query definition from your account

Syntax 

Remove()

Example 

This sample code deletes the query definition with the external key “myQueryDef”:

1var qd = QueryDefinition.Init("myQueryDef");
2var status = qd.Remove();