Partager via


Classe AlterAvailabilityGroupStatement

Represents the ALTER AVAILABILITY GROUP statement.

Hiérarchie d'héritage

System.Object
  Microsoft.SqlServer.TransactSql.ScriptDom.TSqlFragment
    Microsoft.SqlServer.TransactSql.ScriptDom.TSqlStatement
      Microsoft.SqlServer.TransactSql.ScriptDom.AvailabilityGroupStatement
        Microsoft.SqlServer.TransactSql.ScriptDom.AlterAvailabilityGroupStatement

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

Syntaxe

'Déclaration
<SerializableAttribute> _
Public Class AlterAvailabilityGroupStatement _
    Inherits AvailabilityGroupStatement
'Utilisation
Dim instance As AlterAvailabilityGroupStatement
[SerializableAttribute]
public class AlterAvailabilityGroupStatement : AvailabilityGroupStatement
[SerializableAttribute]
public ref class AlterAvailabilityGroupStatement : public AvailabilityGroupStatement
[<SerializableAttribute>]
type AlterAvailabilityGroupStatement =  
    class 
        inherit AvailabilityGroupStatement 
    end
public class AlterAvailabilityGroupStatement extends AvailabilityGroupStatement

Le type AlterAvailabilityGroupStatement expose les membres suivants.

Constructeurs

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

Haut de la page

Propriétés

  Nom Description
Propriété publique Action Gets or sets the action to take for the AlterAvailabilityGroupStatement.
Propriété publique AlterAvailabilityGroupStatementType Gets or sets the type of the ALTER AVAILABILITY GROUP statement.
Propriété publique Databases Gets the collection of databases. (hérité de AvailabilityGroupStatement.)
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 LastTokenIndex Gets or sets the last token index. (hérité de TSqlFragment.)
Propriété publique Name Gets or sets the availability group name. (hérité de AvailabilityGroupStatement.)
Propriété publique Options Gets the collection of availability group options. (hérité de AvailabilityGroupStatement.)
Propriété publique Replicas Gets the collection of replicas. (hérité de AvailabilityGroupStatement.)
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.)

Haut de la page

Méthodes

  Nom Description
Méthode publique Accept Calls Accept on the children with the given visitor. (remplace TSqlFragment.Accept(TSqlFragmentVisitor).)
Méthode publique AcceptChildren Calls the Accept method on the children with the given visitor. (remplace AvailabilityGroupStatement.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