Share via


CapturedSql.Clear Method

Clears the buffer that contains the captured Transact-SQL commands.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As CapturedSql

instance.Clear()
public void Clear()
public:
void Clear()
member Clear : unit -> unit
public function Clear()

Examples

Using Capture Mode

See Also

Reference

CapturedSql Class

Microsoft.SqlServer.Management.Common Namespace