Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Represents the GRANT statement.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
Microsoft.SqlServer.TransactSql.ScriptDom.SecurityStatement
Microsoft.SqlServer.TransactSql.ScriptDom.GrantStatement
Espacio de nombres: Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado: Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
Public Class GrantStatement _
Inherits SecurityStatement
'Uso
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
El tipo GrantStatement expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
GrantStatement | Initializes a new instance of the GrantStatement class. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
AsClause | Gets or sets an AS clause. Optional may be nulles una referencia NULL (Nothing en Visual Basic).. (Se hereda de SecurityStatement.) |
![]() |
FirstTokenIndex | Gets or sets the first token index. (Se hereda de TSqlFragment.) |
![]() |
FragmentLength | Gets the fragment length. (Se hereda de TSqlFragment.) |
![]() |
LastTokenIndex | Gets or sets the last token index. (Se hereda de TSqlFragment.) |
![]() |
Permissions | Gets or sets the permissions. (Se hereda de SecurityStatement.) |
![]() |
Principals | Gets the principals. (Se hereda de SecurityStatement.) |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Se hereda de TSqlFragment.) |
![]() |
SecurityTargetObject | Gets or sets the security target object. Optional may be nulles una referencia NULL (Nothing en Visual Basic).. (Se hereda de SecurityStatement.) |
![]() |
StartColumn | Gets the starting column. (Se hereda de TSqlFragment.) |
![]() |
StartLine | Gets the starting line. (Se hereda de TSqlFragment.) |
![]() |
StartOffset | Gets the fragment start offset value. (Se hereda de TSqlFragment.) |
![]() |
WithGrantOption | Gets or sets whether the WITH GRANT OPTION is defined. |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Accept | Accepts a visit from the specified visitor. (Invalida TSqlFragment.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts a visit for the Children from the specified visitor. (Invalida SecurityStatement.AcceptChildren(TSqlFragmentVisitor).) |
![]() |
Equals | (Se hereda de Object.) |
![]() |
Finalize | (Se hereda de Object.) |
![]() |
GetHashCode | (Se hereda de Object.) |
![]() |
GetType | (Se hereda de Object.) |
![]() |
MemberwiseClone | (Se hereda de Object.) |
![]() |
ToString | (Se hereda de Object.) |
Arriba
Seguridad para subprocesos
Cualquier miembro público static (Shared en Visual Basic) de este tipo es seguro para subprocesos. No se garantiza que los miembros de instancia sean seguros para subprocesos.
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.TransactSql.ScriptDom
.gif)
.gif)
.gif)