SQL Server Performance

Execute a query with SMO and capture messages (like ExecuteWithResultsAndMessages with SQL-DMO)

Discussion in 'SQL Server 2005 General Developer Questions' started by carpi751, Dec 8, 2008.

  1. carpi751 New Member

    I would like to execute a query with SMO and especially capture all messages (like PRINT). ExecuteWithResults returns recordsets only, no messages.
    And ExecuteWithResultsAndMessages doesn't seem to be available in SMO.
    Do you have any idea ?
    Thanks a lot.

Share This Page