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 帮助