Share via


GrantStatement Class

Definition

Represents the grant statement.

[System.Serializable]
public class GrantStatement : Microsoft.SqlServer.TransactSql.ScriptDom.SecurityStatement
[<System.Serializable>]
type GrantStatement = class
    inherit SecurityStatement
Public Class GrantStatement
Inherits SecurityStatement
Inheritance
Attributes

Constructors

GrantStatement()

Fields

Uninitialized

Constant to indicate and uninitialized token.

(Inherited from TSqlFragment)

Properties

AsClause

Optional may be null.

(Inherited from SecurityStatement)
FirstTokenIndex

Gets or sets the first index of the token.

(Inherited from TSqlFragment)
FragmentLength

Defines the number of characters the fragment takes up in the script it was parsed.

(Inherited from TSqlFragment)
LastTokenIndex

Gets or sets the last index of the token.

(Inherited from TSqlFragment)
Permissions

Represents the permissions.

(Inherited from SecurityStatement)
Principals

Represents the principals.

(Inherited from SecurityStatement)
ScriptTokenStream

Gets or sets the script token stream.

(Inherited from TSqlFragment)
SecurityTargetObject

Security target object. Optional may be null.

(Inherited from SecurityStatement)
StartColumn

Gets the start column.

(Inherited from TSqlFragment)
StartLine

Gets the start line.

(Inherited from TSqlFragment)
StartOffset

Defines the character offset of fragments starting location in the script it was parsed.

(Inherited from TSqlFragment)
WithGrantOption

True is WITH GRANT OPTION is defined.

Methods

Accept(TSqlFragmentVisitor)

Accepts visitor

AcceptChildren(TSqlFragmentVisitor)

Accepts visitor for Children

Applies to