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.
Represents the THROW statement.
Hierarquia de herança
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.ThrowStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (em Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxe
'Declaração
<SerializableAttribute> _
Public Class ThrowStatement _
Inherits TSqlStatement
'Uso
Dim instance As ThrowStatement
[SerializableAttribute]
public class ThrowStatement : TSqlStatement
[SerializableAttribute]
public ref class ThrowStatement : public TSqlStatement
[<SerializableAttribute>]
type ThrowStatement =
class
inherit TSqlStatement
end
public class ThrowStatement extends TSqlStatement
O tipo ThrowStatement expõe os membros a seguir.
Construtores
| Nome | Descrição | |
|---|---|---|
![]() |
ThrowStatement | Initializes a new instance of the ThrowStatement class. |
Início
Propriedades
| Nome | Descrição | |
|---|---|---|
![]() |
ErrorNumber | Gets or sets the error number to be thrown. |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Herdado de TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Herdado de TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Herdado de TSqlFragment.) |
![]() |
Message | Gets or sets the error message. |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Herdado de TSqlFragment.) |
![]() |
StartColumn | Gets the starting column. (Herdado de TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Herdado de TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Herdado de TSqlFragment.) |
![]() |
State | Gets or sets the error state. |
Início
Métodos
| Nome | Descrição | |
|---|---|---|
![]() |
Accept | Accepts visitor. (Substitui TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts visitor for Children. (Substitui TSqlStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Herdado de Object.) |
![]() |
Finalize | (Herdado de Object.) |
![]() |
GetHashCode | (Herdado de Object.) |
![]() |
GetType | (Herdado de Object.) |
![]() |
MemberwiseClone | (Herdado de Object.) |
![]() |
ToString | (Herdado de Object.) |
Início
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)
.gif)