GrantStatement GrantStatement GrantStatement Class

Definition

Represents the GRANT statement.

public ref class GrantStatement : Microsoft::SqlServer::TransactSql::ScriptDom::SecurityStatement
public class GrantStatement : Microsoft.SqlServer.TransactSql.ScriptDom.SecurityStatement
Public Class GrantStatement
Inherits SecurityStatement
Inheritance

Constructors

GrantStatement() GrantStatement() GrantStatement()

Initializes a new instance of the GrantStatement class.

Properties

AsClause AsClause AsClause

Gets or sets an AS clause. Optional may be null.

(Inherited from SecurityStatement)
FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
Permissions Permissions Permissions

Gets or sets the permissions.

(Inherited from SecurityStatement)
Principals Principals Principals

Gets the principals.

(Inherited from SecurityStatement)
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
SecurityTargetObject SecurityTargetObject SecurityTargetObject

Gets or sets the security target object. Optional may be null.

(Inherited from SecurityStatement)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)
WithGrantOption WithGrantOption WithGrantOption

Gets or sets whether the WITH GRANT OPTION is defined.

Methods

Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Accepts a visit from the specified visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Accepts a visit for the Children from the specified visitor.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to