Compartir a través de


Clase PasswordAlterPrincipalOption

Represents the PASSWORD option in ALTER LOGIN statement.

Jerarquía de herencia

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.PrincipalOption
      Microsoft.SqlServer.TransactSql.ScriptDom.PasswordAlterPrincipalOption

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

Sintaxis

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

El tipo PasswordAlterPrincipalOption expone los siguientes miembros.

Constructores

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

Arriba

Propiedades

  Nombre Descripción
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 Hashed Gets or sets a value that indicates whether HASHED was specified.
Propiedad pública LastTokenIndex Gets or sets the last token index. (Se hereda de TSqlFragment.)
Propiedad pública MustChange Gets or sets a value that indicates whether MUST_CHANGE was specified.
Propiedad pública OldPassword Gets or sets the old password, to which a new password would be assigned.
Propiedad pública OptionKind Gets the kind of the option. (Se hereda de PrincipalOption.)
Propiedad pública Password Gets or sets the password for the login that is changed.
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.)
Propiedad pública Unlock Gets or sets a value that indicates whether UNLOCK was specified.

Arriba

Métodos

  Nombre Descripción
Método público Accept Indicates the entry point for a given visitor. (Invalida PrincipalOption.Accept(TSqlFragmentVisitor).)
Método público AcceptChildren Calls Accept on the children with the given visitor. (Invalida PrincipalOption.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