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 an option that can be set ON or OFF in CREATE/ALTER LOGIN/USER statement.
Jerarquía de herencia
System.Object
Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
Microsoft.SqlServer.TransactSql.ScriptDom.PrincipalOption
Microsoft.SqlServer.TransactSql.ScriptDom.OnOffPrincipalOption
Espacio de nombres: Microsoft.SqlServer.TransactSql.ScriptDom
Ensamblado: Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)
Sintaxis
'Declaración
<SerializableAttribute> _
Public Class OnOffPrincipalOption _
Inherits PrincipalOption
'Uso
Dim instance As OnOffPrincipalOption
[SerializableAttribute]
public class OnOffPrincipalOption : PrincipalOption
[SerializableAttribute]
public ref class OnOffPrincipalOption : public PrincipalOption
[<SerializableAttribute>]
type OnOffPrincipalOption =
class
inherit PrincipalOption
end
public class OnOffPrincipalOption extends PrincipalOption
El tipo OnOffPrincipalOption expone los siguientes miembros.
Constructores
| Nombre | Descripción | |
|---|---|---|
![]() |
OnOffPrincipalOption | Initializes a new instance of the OnOffPrincipalOption class. |
Arriba
Propiedades
| Nombre | Descripción | |
|---|---|---|
![]() |
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.) |
![]() |
OptionKind | Gets the kind of the option. (Se hereda de PrincipalOption.) |
![]() |
OptionState | Gets the state of the option. |
![]() |
ScriptTokenStream | Gets or sets a list of token streams. (Se hereda de TSqlFragment.) |
![]() |
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.) |
Arriba
Métodos
| Nombre | Descripción | |
|---|---|---|
![]() |
Accept | Accepts a visit from the specified visitor. (Invalida PrincipalOption.Accept(TSqlFragmentVisitor).) |
![]() |
AcceptChildren | Accepts a visit for the Children from the specified visitor. (Invalida PrincipalOption.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)