Using Capture Mode

SMO programs can capture and record the equivalent Transact-SQL statements issued by the program in place of, or in addition to, the statements that are executed by the program. You enable capture mode by using the ServerConnection object, or by using the ConnectionContext property of the Server object.

請參閱

工作

How to: Enable Capture Mode in Visual Basic .NET

說明及資訊

取得 SQL Server 2005 協助