Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Represents the GRANT statement.
Vererbungshierarchie
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.SecurityStatement
Microsoft.SqlServer.TransactSql.ScriptDom.GrantStatement
Namespace: Microsoft.SqlServer.TransactSql.ScriptDom
Assembly: Microsoft.SqlServer.TransactSql.ScriptDom (in Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public Class GrantStatement _
Inherits SecurityStatement
'Usage
Dim instance As GrantStatement
[SerializableAttribute]
public class GrantStatement : SecurityStatement
[SerializableAttribute]
public ref class GrantStatement : public SecurityStatement
[<SerializableAttribute>]
type GrantStatement =
class
inherit SecurityStatement
end
public class GrantStatement extends SecurityStatement
Der GrantStatement-Typ macht folgende Elemente verfügbar.
Konstruktoren
| Name | Beschreibung | |
|---|---|---|
![]() |
GrantStatement | Initializes a new instance of the GrantStatement class. |
Zum Anfang
Eigenschaften
| Name | Beschreibung | |
|---|---|---|
![]() |
AsClause | Gets or sets an AS clause. Optional may be nullein NULL-Verweis (Nothing in Visual Basic). (Geerbt von SecurityStatement.) |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Geerbt von TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Geerbt von TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Geerbt von TSqlFragment.) |
![]() |
Permissions | Gets or sets the permissions. (Geerbt von SecurityStatement.) |
![]() |
Principals | Gets the principals. (Geerbt von SecurityStatement.) |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Geerbt von TSqlFragment.) |
![]() |
SecurityTargetObject | Gets or sets the security target object. Optional may be nullein NULL-Verweis (Nothing in Visual Basic). (Geerbt von SecurityStatement.) |
![]() |
StartColumn | Gets the starting column. (Geerbt von TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Geerbt von TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Geerbt von TSqlFragment.) |
![]() |
WithGrantOption | Gets or sets whether the WITH GRANT OPTION is defined. |
Zum Anfang
Methoden
| Name | Beschreibung | |
|---|---|---|
![]() |
Accept | Accepts a visit from the specified visitor. (Überschreibt TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts a visit for the Children from the specified visitor. (Überschreibt SecurityStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Geerbt von Object.) |
![]() |
Finalize | (Geerbt von Object.) |
![]() |
GetHashCode | (Geerbt von Object.) |
![]() |
GetType | (Geerbt von Object.) |
![]() |
MemberwiseClone | (Geerbt von Object.) |
![]() |
ToString | (Geerbt von Object.) |
Zum Anfang
Threadsicherheit
Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.
.gif)
.gif)
.gif)