GETSTATEMENT

Returns the statement (SQL, MDX or REST URI) as defined in the Connection tab.