CapturedSql-Klasse

The CapturedSql class represents the Transact-SQL commands that are sent to the instance of SQL Server by way of the referenced connection. However, they are then redirected to a buffer instead of running immediately on the instance of SQL Server.

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

Syntax

'Declaration
Public NotInheritable Class CapturedSql
'Usage
Dim instance As CapturedSql
public sealed class CapturedSql
public ref class CapturedSql sealed
[<SealedAttribute>]
type CapturedSql =  class end
public final class CapturedSql

Hinweise

The capturedSql object is served by the connectionmanager object.

Thread Safety

Alle öffentlichen, statischen Elemente dieses Typs (Shared in Microsoft Visual Basic) sind für Vorgänge mit mehreren Threads sicher. Für Instanzelemente kann nicht sichergestellt werden, dass sie für Threads sicher sind.

Vererbungshierarchie

System. . :: . .Object
  Microsoft.SqlServer.Management.Common..::..CapturedSql

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.