Update
Overview
Updates a query definition and returns a status of OK or an error messageSyntax
Update(1)
| Ordinal | Type | Description | |
|---|---|---|---|
| 1 | object | Required | Attributes for query definition to change |
Example
This sample code updates the name and query of the query definition:
var qd = QueryDefinition.Init("myQueryDef");
var status = qd.Update({
Name : "Updated Query Definition Name",
QueryText : "SELECT SubKey, Email, Name FROM [Example Target DE] where FavoriteItemID=12"
});