Partager via


Classe PasswordAlterPrincipalOption

Represents the PASSWORD option in ALTER LOGIN statement.

Hiérarchie d'héritage

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

Espace de noms :  Microsoft.SqlServer.TransactSql.ScriptDom
Assembly :  Microsoft.SqlServer.TransactSql.ScriptDom (en Microsoft.SqlServer.TransactSql.ScriptDom.dll)

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class PasswordAlterPrincipalOption _
    Inherits PrincipalOption
'Utilisation
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

Le type PasswordAlterPrincipalOption expose les membres suivants.

Constructeurs

  Nom Description
Méthode publique PasswordAlterPrincipalOption Initializes a new instance of the PasswordAlterPrincipalOption class.

Haut de la page

Propriétés

  Nom Description
Propriété publique FirstTokenIndex Gets or sets the first token index. (hérité de TSqlFragment.)
Propriété publique FragmentLength Gets the fragment length. (hérité de TSqlFragment.)
Propriété publique Hashed Gets or sets a value that indicates whether HASHED was specified.
Propriété publique LastTokenIndex Gets or sets the last token index. (hérité de TSqlFragment.)
Propriété publique MustChange Gets or sets a value that indicates whether MUST_CHANGE was specified.
Propriété publique OldPassword Gets or sets the old password, to which a new password would be assigned.
Propriété publique OptionKind Gets the kind of the option. (hérité de PrincipalOption.)
Propriété publique Password Gets or sets the password for the login that is changed.
Propriété publique ScriptTokenStream Gets or sets a list of token streams. (hérité de TSqlFragment.)
Propriété publique StartColumn Gets the starting column. (hérité de TSqlFragment.)
Propriété publique StartLine Gets the starting line. (hérité de TSqlFragment.)
Propriété publique StartOffset Gets the fragment start offset value. (hérité de TSqlFragment.)
Propriété publique Unlock Gets or sets a value that indicates whether UNLOCK was specified.

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept Indicates the entry point for a given visitor. (remplace PrincipalOption.Accept(TSqlFragmentVisitor).)
Méthode publique AcceptChildren Calls Accept on the children with the given visitor. (remplace PrincipalOption.AcceptChildren(TSqlFragmentVisitor).)
Méthode publique Equals (hérité de Object.)
Méthode protégée Finalize (hérité de Object.)
Méthode publique GetHashCode (hérité de Object.)
Méthode publique GetType (hérité de Object.)
Méthode protégée MemberwiseClone (hérité de Object.)
Méthode publique ToString (hérité de Object.)

Haut de la page

Sécurité des threads

Tous les membres publics static (Shared dans Visual Basic) de ce type sont thread-safe. Tous les membres de l'instance ne sont pas garantis comme étant thread-safe.

Voir aussi

Référence

Espace de noms Microsoft.SqlServer.TransactSql.ScriptDom