Compartir a través de


Clase SecurityTargetObject

Represents the target object that can be used in security statement body.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.SecurityTargetObject

Espacio de nombres:  Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado:  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Sintaxis

'Declaración
<SerializableAttribute> _
Public Class SecurityTargetObject _
    Inherits TSqlFragment
'Uso
Dim instance As SecurityTargetObject
[SerializableAttribute]
public class SecurityTargetObject : TSqlFragment
[SerializableAttribute]
public ref class SecurityTargetObject : public TSqlFragment
[<SerializableAttribute>]
type SecurityTargetObject =  
    class 
        inherit TSqlFragment 
    end
public class SecurityTargetObject extends TSqlFragment

El tipo SecurityTargetObject expone los siguientes miembros.

Constructores

  Nombre Descripción
Método público SecurityTargetObject Initializes a new instance of the SecurityTargetObject class.

Arriba

Propiedades

  Nombre Descripción
Propiedad pública Columns Gets or sets the columns. If this is used inside ALTER AUTHORIZATION, there can't be any columns. Optional may have zero elements.
Propiedad pública FirstTokenIndex Gets or sets the first token index. (Se hereda de TSqlFragment.)
Propiedad pública FragmentLength Gets the fragment length. (Se hereda de TSqlFragment.)
Propiedad pública LastTokenIndex Gets or sets the last token index. (Se hereda de TSqlFragment.)
Propiedad pública ObjectKind Gets or sets the object kind.
Propiedad pública ObjectName Gets or sets the name of the object.
Propiedad pública ScriptTokenStream Gets or sets a list of token streams. (Se hereda de TSqlFragment.)
Propiedad pública StartColumn Gets the starting column. (Se hereda de TSqlFragment.)
Propiedad pública StartLine Gets the starting line. (Se hereda de TSqlFragment.)
Propiedad pública StartOffset Gets the fragment start offset value. (Se hereda de TSqlFragment.)

Arriba

Métodos

  Nombre Descripción
Método público Accept Accepts visitor. (Invalida TSqlFragment.Accept(TSqlFragmentVisitor).)
Método público AcceptChildren Accepts visitor for Children. (Invalida TSqlFragment.AcceptChildren(TSqlFragmentVisitor).)
Método público Equals (Se hereda de Object.)
Método protegido Finalize (Se hereda de Object.)
Método público GetHashCode (Se hereda de Object.)
Método público GetType (Se hereda de Object.)
Método protegido MemberwiseClone (Se hereda de Object.)
Método público 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