Observação
O acesso a essa página exige autorização. Você pode tentar entrar ou alterar diretórios.
O acesso a essa página exige autorização. Você pode tentar alterar os diretórios.
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.
Hierarquia de herança
System.Object
Microsoft.SqlServer.Management.Common.CapturedSql
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)
Sintaxe
'Declaração
Public NotInheritable Class CapturedSql
'Uso
Dim instance As CapturedSql
public sealed class CapturedSql
public ref class CapturedSql sealed
[<SealedAttribute>]
type CapturedSql = class end
public final class CapturedSql
O tipo CapturedSql expõe os membros a seguir.
Propriedades
| Nome | Descrição | |
|---|---|---|
![]() |
Text | Gets the captured Transact-SQL commands in the buffer. |
Início
Métodos
| Nome | Descrição | |
|---|---|---|
![]() |
Add | Adds a Transact-SQL statement to the captured Transact-SQL commands in the buffer. |
![]() |
Clear | Clears the buffer that contains the captured Transact-SQL commands. |
![]() |
Equals | (Herdado de Object.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetType | (Herdado de Object.) |
![]() |
ToString | (Herdado de Object.) |
Início
Comentários
The capturedSql object is served by the connectionmanager object.
Thread Safety
Qualquer membro público estático (Compartilhado no Microsoft Visual Basic) desse tipo é seguro para operações multi-threaded. Não há garantia de que qualquer membro de instância seja seguro para threads.
Exemplos
Segurança de thread
Qualquer membro público static (Shared no Visual Basic) desse tipo é seguro para threads. Não há garantia de que qualquer membro de instância seja seguro para threads.
.gif)
.gif)