Partager via


Classe GrantStatement80

Represents the GRANT statement.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.SecurityStatementBody80
        Microsoft.SqlServer.TransactSql.ScriptDom.GrantStatement80

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

Syntaxe

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

Le type GrantStatement80 expose les membres suivants.

Constructeurs

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

Haut de la page

Propriétés

  Nom Description
Propriété publique AsClause Gets or sets the AS clause.
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 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 SecurityElement80 Gets or sets the security statement body. (hérité de SecurityStatementBody80.)
Propriété publique SecurityUserClause80 Gets or sets the security statement body that is common for GRANT, DENY, and REVOKE statements. (hérité de SecurityStatementBody80.)
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.)
Propriété publique WithGrantOption Gets or sets whether the WITH GRANT OPTION is defined.

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept Indicates the entry point for a given visitor. (remplace TSqlFragment.Accept(TSqlFragmentVisitor).)
Méthode publique AcceptChildren Calls Accept on the children with the given visitor. (remplace SecurityStatementBody80.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