AlterAvailabilityGroupStatement AlterAvailabilityGroupStatement AlterAvailabilityGroupStatement Class

Definition

Represents the ALTER AVAILABILITY GROUP statement.

public ref class AlterAvailabilityGroupStatement : Microsoft::SqlServer::TransactSql::ScriptDom::AvailabilityGroupStatement
public class AlterAvailabilityGroupStatement : Microsoft.SqlServer.TransactSql.ScriptDom.AvailabilityGroupStatement
Public Class AlterAvailabilityGroupStatement
Inherits AvailabilityGroupStatement
Inheritance

Constructors

AlterAvailabilityGroupStatement() AlterAvailabilityGroupStatement() AlterAvailabilityGroupStatement()

Initializes a new instance of the AlterAvailabilityGroupStatement class.

Properties

Action Action Action

Gets or sets the action to take for the AlterAvailabilityGroupStatement.

AlterAvailabilityGroupStatementType AlterAvailabilityGroupStatementType AlterAvailabilityGroupStatementType

Gets or sets the type of the ALTER AVAILABILITY GROUP statement.

Databases Databases Databases

Gets the collection of databases.

(Inherited from AvailabilityGroupStatement)
FirstTokenIndex FirstTokenIndex FirstTokenIndex

Gets or sets the first token index.

(Inherited from TSqlFragment)
FragmentLength FragmentLength FragmentLength

Gets the fragment length.

(Inherited from TSqlFragment)
LastTokenIndex LastTokenIndex LastTokenIndex

Gets or sets the last token index.

(Inherited from TSqlFragment)
Name Name Name

Gets or sets the availability group name.

(Inherited from AvailabilityGroupStatement)
Options Options Options

Gets the collection of availability group options.

(Inherited from AvailabilityGroupStatement)
Replicas Replicas Replicas

Gets the collection of replicas.

(Inherited from AvailabilityGroupStatement)
ScriptTokenStream ScriptTokenStream ScriptTokenStream

Gets or sets a list of token streams.

(Inherited from TSqlFragment)
StartColumn StartColumn StartColumn

Gets the starting column.

(Inherited from TSqlFragment)
StartLine StartLine StartLine

Gets the starting line.

(Inherited from TSqlFragment)
StartOffset StartOffset StartOffset

Gets the fragment start offset value.

(Inherited from TSqlFragment)

Methods

Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor) Accept(TSqlFragmentVisitor)

Calls Accept on the children with the given visitor.

AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor) AcceptChildren(TSqlFragmentVisitor)

Calls the Accept method on the children with the given visitor.

Fields

Uninitialized Uninitialized Uninitialized

Value is -1.

(Inherited from TSqlFragment)

Applies to