Partager via


Classe EnabledDisabledPayloadOption

Represents an option which can be either ENABLED or DISABLED.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.PayloadOption
      Microsoft.SqlServer.TransactSql.ScriptDom.EnabledDisabledPayloadOption

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class EnabledDisabledPayloadOption _
    Inherits PayloadOption
'Utilisation
Dim instance As EnabledDisabledPayloadOption
[SerializableAttribute]
public class EnabledDisabledPayloadOption : PayloadOption
[SerializableAttribute]
public ref class EnabledDisabledPayloadOption : public PayloadOption
[<SerializableAttribute>]
type EnabledDisabledPayloadOption =  
    class 
        inherit PayloadOption 
    end
public class EnabledDisabledPayloadOption extends PayloadOption

Le type EnabledDisabledPayloadOption expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique EnabledDisabledPayloadOption Initializes a new instance of the EnabledDisabledPayloadOption class.

Haut de la page

Propriétés

  Nom Description
Propriété publique FirstTokenIndex Gets or sets the first token index. (hérité de TSqlFragment.)
Propriété publique FragmentLength Gets the fragment length. (hérité de TSqlFragment.)
Propriété publique IsEnabled Gets or sets a value that indicates whether the option value is enabled.
Propriété publique Kind Gets or sets the option kind (for duplicate checking). (hérité de PayloadOption.)
Propriété publique LastTokenIndex Gets or sets the last token index. (hérité de TSqlFragment.)
Propriété publique ScriptTokenStream Gets or sets a list of token streams. (hérité de TSqlFragment.)
Propriété publique StartColumn Gets the starting column. (hérité de TSqlFragment.)
Propriété publique StartLine Gets the starting line. (hérité de TSqlFragment.)
Propriété publique StartOffset Gets the fragment start offset value. (hérité de TSqlFragment.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept Accepts the visitor. (remplace TSqlFragment.Accept(TSqlFragmentVisitor).)
Méthode publique AcceptChildren Accepts the visitor for Children. (remplace PayloadOption.AcceptChildren(TSqlFragmentVisitor).)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom